org.joda.time.tz
Class DateTimeZoneBuilder.PrecalculatedZone

java.lang.Object
org.joda.time.DateTimeZone
org.joda.time.tz.DateTimeZoneBuilder.PrecalculatedZone
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- DateTimeZoneBuilder
- private static final class DateTimeZoneBuilder.PrecalculatedZone
- extends org.joda.time.DateTimeZone
| Nested classes inherited from class org.joda.time.DateTimeZone |
|
| Methods inherited from class org.joda.time.DateTimeZone |
forID, forOffsetHours, forOffsetHoursMinutes, forOffsetMillis, forTimeZone, getAvailableIDs, getDefault, getID, getMillisKeepLocal, getName, getName, getNameProvider, getOffset, getOffsetFromLocal, getProvider, getShortName, getShortName, hashCode, setDefault, setNameProvider, setProvider, toString, toTimeZone, writeReplace |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
iTransitions
private final long[] iTransitions
iWallOffsets
private final int[] iWallOffsets
iStandardOffsets
private final int[] iStandardOffsets
iNameKeys
private final java.lang.String[] iNameKeys
iTailZone
private final DateTimeZoneBuilder.DSTZone iTailZone
DateTimeZoneBuilder.PrecalculatedZone
DateTimeZoneBuilder.PrecalculatedZone(java.lang.String id,
long[] transitions,
int[] wallOffsets,
int[] standardOffsets,
java.lang.String[] nameKeys,
DateTimeZoneBuilder.DSTZone tailZone)
DateTimeZoneBuilder.PrecalculatedZone
DateTimeZoneBuilder.PrecalculatedZone(java.lang.String id,
java.util.ArrayList transitions,
DateTimeZoneBuilder.DSTZone tailZone)
readFrom
static DateTimeZoneBuilder.PrecalculatedZone readFrom(java.io.DataInput in,
java.lang.String id)
throws java.io.IOException
getNameKey
public java.lang.String getNameKey(long instant)
- Description copied from class:
org.joda.time.DateTimeZone
- Returns a non-localized name that is unique to this time zone. It can be
combined with id to form a unique key for fetching localized names.
getOffset
public int getOffset(long instant)
- Description copied from class:
org.joda.time.DateTimeZone
- Gets the millisecond offset to add to UTC to get local time.
getStandardOffset
public int getStandardOffset(long instant)
- Description copied from class:
org.joda.time.DateTimeZone
- Gets the standard millisecond offset to add to UTC to get local time,
when standard time is in effect.
isFixed
public boolean isFixed()
- Description copied from class:
org.joda.time.DateTimeZone
- Returns true if this time zone has no transitions.
nextTransition
public long nextTransition(long instant)
- Description copied from class:
org.joda.time.DateTimeZone
- Advances the given instant to where the time zone offset or name changes.
If the instant returned is exactly the same as passed in, then
no changes occur after the given instant.
previousTransition
public long previousTransition(long instant)
- Description copied from class:
org.joda.time.DateTimeZone
- Retreats the given instant to where the time zone offset or name changes.
If the instant returned is exactly the same as passed in, then
no changes occur before the given instant.
equals
public boolean equals(java.lang.Object obj)
- Description copied from class:
org.joda.time.DateTimeZone
- Compare this datetime zone with another.
writeTo
public void writeTo(java.io.DataOutput out)
throws java.io.IOException
isCachable
public boolean isCachable()