| Modifier and Type | Field and Description |
|---|---|
| private static final Pattern | |
| private static final TimeZone |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static TimeZone | |
| public static TimeZone | Returns: A TimeZone with offset from GMT or null, if pattern does not match.The GMT offset pattern)Gets a TimeZone with GMT offsets. |
| public static TimeZone | Returns: A time zoneA GMT custom id (or Olson id id)Gets a TimeZone, looking first for GMT custom ids, then falling back to Olson ids. |
| private static int | |
| private static boolean |
| GMT_PATTERN | back to summary |
|---|---|
| private static final Pattern GMT_PATTERN | |
| GREENWICH | back to summary |
|---|---|
| private static final TimeZone GREENWICH | |
| FastTimeZone | back to summary |
|---|---|
| private FastTimeZone() | |
| getGmtTimeZone | back to summary |
|---|---|
| public static TimeZone getGmtTimeZone() Gets the GMT TimeZone.
| |
| getGmtTimeZone | back to summary |
|---|---|
| public static TimeZone getGmtTimeZone(final String pattern) Gets a TimeZone with GMT offsets. A GMT offset must be either 'Z', or 'UTC', or match (GMT)? hh?(:?mm?)?, where h and m are digits representing hours and minutes. | |
| getTimeZone | back to summary |
|---|---|
| public static TimeZone getTimeZone(final String id) Gets a TimeZone, looking first for GMT custom ids, then falling back to Olson ids. A GMT custom id can be 'Z', or 'UTC', or has an optional prefix of GMT, followed by sign, hours digit(s), optional colon(':'), and optional minutes digits. i.e. [GMT] (+|-) Hours [[:] Minutes] | |
| parseInt | back to summary |
|---|---|
| private static int parseInt(final String group) | |
| parseSign | back to summary |
|---|---|
| private static boolean parseSign(final String group) | |