net.wotonomy.foundation
Class NSTimeZone
java.lang.Object
java.util.TimeZone
net.wotonomy.foundation.NSTimeZone
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, NSCoding
public class NSTimeZone
- extends java.util.TimeZone
- implements java.lang.Cloneable, java.io.Serializable, NSCoding
A channel to the database, representing a communication
stream within a context of an adaptor.
- Version:
- $Revision: 892 $
- Author:
- cgruber@israfil.net, $Author: cgruber $
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface net.wotonomy.foundation.NSCoding |
NSCoding._BigDecimalSupport, NSCoding._BigIntegerSupport, NSCoding._BooleanSupport, NSCoding._ByteSupport, NSCoding._CharacterSupport, NSCoding._DateSupport, NSCoding._DoubleSupport, NSCoding._FloatSupport, NSCoding._IntegerSupport, NSCoding._LongSupport, NSCoding._NumberSupport, NSCoding._ShortSupport, NSCoding._StringSupport, NSCoding.Support |
Fields inherited from class java.util.TimeZone |
LONG, SHORT |
Methods inherited from class java.util.TimeZone |
getAvailableIDs, getDisplayName, getDisplayName, getDisplayName, getDSTSavings, getOffset, getTimeZone |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
SystemTimeZoneDidChangeNotification
public static final java.lang.String SystemTimeZoneDidChangeNotification
- See Also:
- Constant Field Values
_data
protected NSData _data
_hashCode
protected transient int _hashCode
_initialized
protected transient boolean _initialized
_jdkTimeZone
protected transient java.util.TimeZone _jdkTimeZone
_name
protected java.lang.String _name
_rawOffset
protected transient int _rawOffset
_timeZonePeriods
protected transient NSMutableArray _timeZonePeriods
_timeZonePeriodsCount
protected transient int _timeZonePeriodsCount
_useDaylightTime
protected transient boolean _useDaylightTime
NSTimeZone
public NSTimeZone()
NSTimeZone
protected NSTimeZone(java.lang.String s,
NSData nsdata)
abbreviationDictionary
public static NSDictionary abbreviationDictionary()
classForCoder
public java.lang.Class classForCoder()
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.util.TimeZone
decodeObject
public static java.lang.Object decodeObject(NSCoder nscoder)
encodeWithCoder
public void encodeWithCoder(NSCoder nscoder)
defaultTimeZone
public static NSTimeZone defaultTimeZone()
getAvailableIDs
public static java.lang.String[] getAvailableIDs()
getDefault
public static java.util.TimeZone getDefault()
knownTimeZoneNames
public static NSArray knownTimeZoneNames()
localTimeZone
public static NSTimeZone localTimeZone()
resetSystemTimeZone
public static void resetSystemTimeZone()
setDefault
public static void setDefault(java.util.TimeZone timezone)
setDefaultTimeZone
public static void setDefaultTimeZone(NSTimeZone nstimezone)
setID
public void setID(java.lang.String s)
- Overrides:
setID
in class java.util.TimeZone
setRawOffset
public void setRawOffset(int i)
- Specified by:
setRawOffset
in class java.util.TimeZone
systemTimeZone
public static NSTimeZone systemTimeZone()
timeZoneForSecondsFromGMT
public static NSTimeZone timeZoneForSecondsFromGMT(int i)
timeZoneWithName
public static NSTimeZone timeZoneWithName(java.lang.String s,
boolean flag)
timeZoneWithNameAndData
public static NSTimeZone timeZoneWithNameAndData(java.lang.String s,
NSData nsdata)
_nstimeZoneWithTimeZone
public static NSTimeZone _nstimeZoneWithTimeZone(java.util.TimeZone timezone)
abbreviation
public java.lang.String abbreviation()
abbreviationForTimestamp
public java.lang.String abbreviationForTimestamp(NSTimestamp nstimestamp)
data
public NSData data()
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
getDisplayName
public java.lang.String getDisplayName(boolean flag,
int i,
java.util.Locale locale)
- Overrides:
getDisplayName
in class java.util.TimeZone
getID
public java.lang.String getID()
- Overrides:
getID
in class java.util.TimeZone
getOffset
public int getOffset(int i,
int j,
int k,
int l,
int i1,
int j1)
- Specified by:
getOffset
in class java.util.TimeZone
getRawOffset
public int getRawOffset()
- Specified by:
getRawOffset
in class java.util.TimeZone
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
hasSameRules
public boolean hasSameRules(java.util.TimeZone timezone)
- Overrides:
hasSameRules
in class java.util.TimeZone
inDaylightTime
public boolean inDaylightTime(java.util.Date date)
- Specified by:
inDaylightTime
in class java.util.TimeZone
isDaylightSavingTime
public boolean isDaylightSavingTime()
isDaylightSavingTimeForTimestamp
public boolean isDaylightSavingTimeForTimestamp(NSTimestamp nstimestamp)
isEqualToTimeZone
public boolean isEqualToTimeZone(NSTimeZone nstimezone)
name
public java.lang.String name()
secondsFromGMT
public int secondsFromGMT()
secondsFromGMTForTimestamp
public int secondsFromGMTForTimestamp(NSTimestamp nstimestamp)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
useDaylightTime
public boolean useDaylightTime()
- Specified by:
useDaylightTime
in class java.util.TimeZone
readResolve
protected java.lang.Object readResolve()
throws java.io.ObjectStreamException
- Throws:
java.io.ObjectStreamException
Copyright © 2006 null. All Rights Reserved.