public class FastTimeZone
extends java.lang.Object
| Modifier and Type | Method | Description |
|---|---|---|
static java.util.TimeZone |
getGmtTimeZone() |
Gets the GMT TimeZone.
|
static java.util.TimeZone |
getGmtTimeZone(java.lang.String pattern) |
Gets a TimeZone with GMT offsets.
|
static java.util.TimeZone |
getTimeZone(java.lang.String id) |
Gets a TimeZone, looking first for GMT custom ids, then falling back to Olson ids.
|
public static java.util.TimeZone getGmtTimeZone()
public static java.util.TimeZone getGmtTimeZone(java.lang.String pattern)
pattern - The GMT offsetpublic static java.util.TimeZone getTimeZone(java.lang.String id)
id - A GMT custom id (or Olson idCopyright © 2001-2019 - Apache Software Foundation