public class OATimeZone extends Object
Modifier and Type | Class and Description |
---|---|
static class |
OATimeZone.TZ |
Modifier and Type | Field and Description |
---|---|
static String |
TZ_Anchorage |
static String |
TZ_Central |
static String |
TZ_Chicago |
static String |
TZ_Eastern |
static String |
TZ_GMT |
static String |
TZ_HongKong |
static String |
TZ_London |
static String |
TZ_LosAngeles |
static String |
TZ_Mountain |
static String |
TZ_NewYork |
static String |
TZ_Pacific |
static String |
TZ_Phoenix |
static String |
TZ_Tokyo |
static String |
TZ_UTC |
static String |
TZ_Zulu |
Constructor and Description |
---|
OATimeZone() |
Modifier and Type | Method and Description |
---|---|
protected static ArrayList<OATimeZone.TZ> |
_getOATimeZones() |
static OATimeZone.TZ |
getLocalOATimeZone() |
static TimeZone |
getLocalTimeZone() |
static OATimeZone.TZ |
getOATimeZone(String value) |
static OATimeZone.TZ |
getOATimeZone(TimeZone timeZone) |
static ArrayList<OATimeZone.TZ> |
getOATimeZones() |
static String[] |
getShortNames() |
static TimeZone |
getTimeZone(String value)
Find the java TimeZone.
|
static TimeZone |
getTimeZoneById(String id) |
static TimeZone |
getTimeZoneUTC() |
static OATimeZone.TZ |
getUtcTimeZone(int value) |
static void |
main(String[] args) |
public static final String TZ_Eastern
public static final String TZ_NewYork
public static final String TZ_Central
public static final String TZ_Chicago
public static final String TZ_Mountain
public static final String TZ_Phoenix
public static final String TZ_Pacific
public static final String TZ_LosAngeles
public static final String TZ_Anchorage
public static final String TZ_London
public static final String TZ_Tokyo
public static final String TZ_HongKong
public static final String TZ_GMT
public static final String TZ_Zulu
public static final String TZ_UTC
public static TimeZone getTimeZoneUTC()
public static OATimeZone.TZ getLocalOATimeZone()
public static TimeZone getLocalTimeZone()
public static String[] getShortNames()
public static ArrayList<OATimeZone.TZ> getOATimeZones()
protected static ArrayList<OATimeZone.TZ> _getOATimeZones()
public static TimeZone getTimeZone(String value)
value
- can be the tz.id, display name, short name, or long name.public static OATimeZone.TZ getOATimeZone(TimeZone timeZone)
public static OATimeZone.TZ getUtcTimeZone(int value)
value
- number from UTC, 0 to +14, and -12 to 0public static OATimeZone.TZ getOATimeZone(String value)
public static void main(String[] args)
Copyright © 1999–2025 ViaOA. All rights reserved.