Package tilda.utils
Enum DateTimeZone
- java.lang.Object
-
- java.lang.Enum<DateTimeZone>
-
- tilda.utils.DateTimeZone
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DateTimeZone>
public enum DateTimeZone extends java.lang.Enum<DateTimeZone>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CanadaAtlantic
CanadaCentral
CanadaEastern
CanadaMountain
CanadaNewfoundland
CanadaPacific
CanadaSaskatchewan
USAlaska
USArizona
USCentral
USEastern
USHawaii
USMountain
USPacific
USSamoa
UTC
ZULU
-
Field Summary
Fields Modifier and Type Field Description protected static java.util.Map<java.lang.String,DateTimeZone>
_TIMEZONES
java.time.ZoneId
_ZoneId
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<DateTimeZone>
get(java.lang.String subName)
static DateTimeZone
parse(java.lang.String Str)
static DateTimeZone
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DateTimeZone[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UTC
public static final DateTimeZone UTC
-
ZULU
public static final DateTimeZone ZULU
-
CanadaNewfoundland
public static final DateTimeZone CanadaNewfoundland
-
CanadaAtlantic
public static final DateTimeZone CanadaAtlantic
-
USEastern
public static final DateTimeZone USEastern
-
CanadaEastern
public static final DateTimeZone CanadaEastern
-
USCentral
public static final DateTimeZone USCentral
-
CanadaCentral
public static final DateTimeZone CanadaCentral
-
CanadaSaskatchewan
public static final DateTimeZone CanadaSaskatchewan
-
USArizona
public static final DateTimeZone USArizona
-
USMountain
public static final DateTimeZone USMountain
-
CanadaMountain
public static final DateTimeZone CanadaMountain
-
USPacific
public static final DateTimeZone USPacific
-
CanadaPacific
public static final DateTimeZone CanadaPacific
-
USAlaska
public static final DateTimeZone USAlaska
-
USHawaii
public static final DateTimeZone USHawaii
-
USSamoa
public static final DateTimeZone USSamoa
-
-
Field Detail
-
_TIMEZONES
protected static final java.util.Map<java.lang.String,DateTimeZone> _TIMEZONES
-
_ZoneId
public final java.time.ZoneId _ZoneId
-
-
Method Detail
-
values
public static DateTimeZone[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DateTimeZone c : DateTimeZone.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DateTimeZone valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
parse
public static DateTimeZone parse(java.lang.String Str)
-
get
public static java.util.List<DateTimeZone> get(java.lang.String subName)
-
-