| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final Map | |
| private static final long | |
| pack-priv static final long | |
| pack-priv static final int | |
| private static final long | |
| private static final int | |
| private static int[] | |
| private static final int | |
| private static final long | |
| private static final long | |
| private static String[] | |
| private static byte[][] | |
| pack-priv static final int | |
| private static final int[] | |
| private static final int[] | |
| private static final int | |
| private static final long | |
| private static final long | |
| private static String | |
| private static final Map |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static int | addTrans(long[] transitions, int nTrans, int[] offsets, int nOffsets, long trans, int offset, int stdOffset)
|
| public static Map | Returns: an unmodified alias mappingReturns a Map from alias time zone IDs to their standard time zone IDs. |
| public static ZoneInfo | Returns: a ZoneInfo constructed with the given GMT offsetthe given custom id (before normalized such as "GMT+9") originalId, int GMT offset in milliseconds gmtOffset)Gets a ZoneInfo with the given GMT offset. |
| private static int | |
| public static String | |
| private static int | |
| public static String[] | Returns: an array of time zone IDs.Gets all available IDs supported in the Java run-time. |
| public static String[] | Returns: an array of time zone IDs.the GMT offset in milliseconds. This
value should not include any daylight saving time. rawOffset)Gets all available IDs that have the same value as the specified raw GMT offset. |
| public static ZoneInfo | |
| public static ZoneInfo | |
| private static ZoneInfo | getZoneInfo(String zoneId, long[]
the standard transitions, not null standardTransitions, int[] the standard offsets, not null standardOffsets, long[] the standard transitions, not null savingsInstantTransitions, int[] the wall offsets, not null wallOffsets, ZoneInfoFile.the recurring last rules, size 15 or less, not null lastRulesGet a ZoneInfo instance. |
| private static ZoneInfo | |
| private static int | |
| private static void | load(DataInputStream
the DateInputStream to load, not null dis)Loads the rules from a DateInputStream |
| private static void | |
| pack-priv static long | |
| public static int | |
| public static String | |
| public static Stream | |
| public static Stream | Returns: a stream of time zone IDs.the GMT offset in milliseconds. This
value should not include any daylight saving time. rawOffset)Gets all available IDs that have the same value as the specified raw GMT offset. |
| aliases | back to summary |
|---|---|
| private static final Map<String, String> aliases | |
| CURRT | back to summary |
|---|---|
| private static final long CURRT | |
| DAYS_0000_TO_1970 | back to summary |
|---|---|
| pack-priv static final long DAYS_0000_TO_1970 | |
| DAYS_PER_CYCLE | back to summary |
|---|---|
| pack-priv static final int DAYS_PER_CYCLE | |
| DST_MASK | back to summary |
|---|---|
| private static final long DST_MASK | |
| DST_NSHIFT | back to summary |
|---|---|
| private static final int DST_NSHIFT | |
| indices | back to summary |
|---|---|
| private static int[] indices | |
| LASTYEAR | back to summary |
|---|---|
| private static final int LASTYEAR | |
| LDT2100 | back to summary |
|---|---|
| private static final long LDT2100 | |
| OFFSET_MASK | back to summary |
|---|---|
| private static final long OFFSET_MASK | |
| regions | back to summary |
|---|---|
| private static String[] regions | |
| ruleArray | back to summary |
|---|---|
| private static byte[][] ruleArray | |
| SECONDS_PER_DAY | back to summary |
|---|---|
| pack-priv static final int SECONDS_PER_DAY | |
| toCalendarDOW | back to summary |
|---|---|
| private static final int[] toCalendarDOW | |
| toSTZTime | back to summary |
|---|---|
| private static final int[] toSTZTime | |
| TRANSITION_NSHIFT | back to summary |
|---|---|
| private static final int TRANSITION_NSHIFT | |
| UTC1900 | back to summary |
|---|---|
| private static final long UTC1900 | |
| UTC2100 | back to summary |
|---|---|
| private static final long UTC2100 | |
| versionId | back to summary |
|---|---|
| private static String versionId | |
| zones | back to summary |
|---|---|
| private static final Map<String, ZoneInfo> zones | |
| ZoneInfoFile | back to summary |
|---|---|
| private ZoneInfoFile() | |
| addTrans | back to summary |
|---|---|
| private static int addTrans(long[] transitions, int nTrans, int[] offsets, int nOffsets, long trans, int offset, int stdOffset) | |
| getAliasMap | back to summary |
|---|---|
| public static Map Returns a Map from alias time zone IDs to their standard time zone IDs. | |
| getCustomTimeZone | back to summary |
|---|---|
| public static ZoneInfo getCustomTimeZone(String originalId, int gmtOffset) Gets a ZoneInfo with the given GMT offset. The object has its ID in the format of GMT{+|-}hh:mm. | |
| getStandardOffset | back to summary |
|---|---|
| private static int getStandardOffset(long[] standardTransitions, int[] standardOffsets, long epochSec) | |
| getVersion | back to summary |
|---|---|
| public static String getVersion() Gets the version of this tz data.
| |
| getYear | back to summary |
|---|---|
| private static int getYear(long epochSecond, int offset) | |
| getZoneIds | back to summary |
|---|---|
| public static String[] getZoneIds() Gets all available IDs supported in the Java run-time.
| |
| getZoneIds | back to summary |
|---|---|
| public static String[] getZoneIds(int rawOffset) Gets all available IDs that have the same value as the specified raw GMT offset.
| |
| getZoneInfo | back to summary |
|---|---|
| public static ZoneInfo getZoneInfo(String zoneId) | |
| getZoneInfo | back to summary |
|---|---|
| public static ZoneInfo getZoneInfo(DataInput in, String zoneId) throws Exception | |
| getZoneInfo | back to summary |
|---|---|
| private static ZoneInfo getZoneInfo(String zoneId, long[] standardTransitions, int[] standardOffsets, long[] savingsInstantTransitions, int[] wallOffsets, ZoneInfoFile. Get a ZoneInfo instance.
| |
| getZoneInfo0 | back to summary |
|---|---|
| private static ZoneInfo getZoneInfo0(String zoneId) | |
| indexOf | back to summary |
|---|---|
| private static int indexOf(int[] offsets, int from, int nOffsets, int offset) | |
| load | back to summary |
|---|---|
| private static void load(DataInputStream dis) throws IOException Loads the rules from a DateInputStream
| |
| loadTZDB | back to summary |
|---|---|
| private static void loadTZDB() | |
| readEpochSec | back to summary |
|---|---|
| pack-priv static long readEpochSec(DataInput in) throws IOException | |
| readOffset | back to summary |
|---|---|
| public static int readOffset(DataInput in) throws IOException | |
| toCustomID | back to summary |
|---|---|
| public static String toCustomID(int gmtOffset) | |
| zoneIds | back to summary |
|---|---|
| public static Stream Gets all available IDs supported in the Java run-time. | |
| zoneIds | back to summary |
|---|---|
| public static Stream Gets all available IDs that have the same value as the specified raw GMT offset. | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | update(int val)
Overrides java. Implements java. Updates the CRC-32 checksum with the specified byte (the low eight bits of the argument b). |
| pack-priv void |
| Checksum | back to summary |
|---|---|
| private Checksum() | |
| update | back to summary |
|---|---|
| public void update(int val) Overrides java. Implements java. Doc from java. Updates the CRC-32 checksum with the specified byte (the low eight bits of the argument b). | |
| update | back to summary |
|---|---|
| pack-priv void update(long val) | |
| Modifier and Type | Field and Description |
|---|---|
| private final byte | |
| private final int | |
| private final int | |
| private final int | |
| private final int | |
| private final int | |
| private final int | |
| private final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static final long | |
| pack-priv long | |
| pack-priv static final boolean | |
| pack-priv static final int | |
| pack-priv static final long | |
| pack-priv static final long | |
| pack-priv static final long |
| dom | back to summary |
|---|---|
| private final byte dom | |
| dow | back to summary |
|---|---|
| private final int dow | |
| month | back to summary |
|---|---|
| private final int month | |
| offsetAfter | back to summary |
|---|---|
| private final int offsetAfter | |
| offsetBefore | back to summary |
|---|---|
| private final int offsetBefore | |
| secondOfDay | back to summary |
|---|---|
| private final int secondOfDay | |
| standardOffset | back to summary |
|---|---|
| private final int standardOffset | |
| timeDefinition | back to summary |
|---|---|
| private final int timeDefinition | |
| ZoneOffsetTransitionRule | back to summary |
|---|---|
| pack-priv ZoneOffsetTransitionRule(DataInput in) throws IOException | |
| adjust | back to summary |
|---|---|
| pack-priv static final long adjust(long epochDay, int dow, int relative) | |
| getTransitionEpochSecond | back to summary |
|---|---|
| pack-priv long getTransitionEpochSecond(int year) | |
| isLeapYear | back to summary |
|---|---|
| pack-priv static final boolean isLeapYear(int year) | |
| lengthOfMonth | back to summary |
|---|---|
| pack-priv static final int lengthOfMonth(int year, int month) | |
| nextOrSame | back to summary |
|---|---|
| pack-priv static final long nextOrSame(long epochDay, int dayOfWeek) | |
| previousOrSame | back to summary |
|---|---|
| pack-priv static final long previousOrSame(long epochDay, int dayOfWeek) | |
| toEpochDay | back to summary |
|---|---|
| pack-priv static final long toEpochDay(int year, int month, int day) | |