public enum PresentationTimezone extends java.lang.Enum<PresentationTimezone>
Enum Constant and Description |
---|
LOCAL
Indicates that dates and times should be presented to the user in the local time zone.
|
UTC
Indicates that dates and times should be presented to the user in the UTC time zone.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT |
Modifier and Type | Method and Description |
---|---|
static PresentationTimezone |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PresentationTimezone[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PresentationTimezone UTC
public static final PresentationTimezone LOCAL
public static final java.lang.String COPYRIGHT
public static PresentationTimezone[] values()
for (PresentationTimezone c : PresentationTimezone.values()) System.out.println(c);
public static PresentationTimezone valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is null