Package stroom.query.api.v2
Enum TimeZone.Use
- java.lang.Object
-
- java.lang.Enum<TimeZone.Use>
-
- stroom.query.api.v2.TimeZone.Use
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TimeZone.Use>
,java.lang.constant.Constable
,HasDisplayValue
- Enclosing class:
- TimeZone
public static enum TimeZone.Use extends java.lang.Enum<TimeZone.Use> implements HasDisplayValue
-
-
Method Summary
Modifier and Type Method Description java.lang.String
getDisplayValue()
java.lang.String
toString()
static TimeZone.Use
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TimeZone.Use[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOCAL
public static final TimeZone.Use LOCAL
-
UTC
public static final TimeZone.Use UTC
-
ID
public static final TimeZone.Use ID
-
OFFSET
public static final TimeZone.Use OFFSET
-
-
Method Detail
-
values
public static TimeZone.Use[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TimeZone.Use 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
-
getDisplayValue
public java.lang.String getDisplayValue()
- Specified by:
getDisplayValue
in interfaceHasDisplayValue
- Returns:
- The string label/description of this object.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<TimeZone.Use>
-
-