Enum LoggingTimeZone
- java.lang.Object
-
- java.lang.Enum<LoggingTimeZone>
-
- cern.nxcals.api.custom.domain.constants.LoggingTimeZone
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LoggingTimeZone>
public enum LoggingTimeZone extends java.lang.Enum<LoggingTimeZone>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LOCAL_TIME
UTC_TIME
-
Field Summary
Fields Modifier and Type Field Description static LoggingTimeZone
LOCAL
static LoggingTimeZone
UTC
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.TimeZone
getTimeZone()
static LoggingTimeZone
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LoggingTimeZone[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UTC_TIME
public static final LoggingTimeZone UTC_TIME
-
LOCAL_TIME
public static final LoggingTimeZone LOCAL_TIME
-
-
Field Detail
-
UTC
public static final LoggingTimeZone UTC
-
LOCAL
public static final LoggingTimeZone LOCAL
-
-
Method Detail
-
values
public static LoggingTimeZone[] 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 (LoggingTimeZone c : LoggingTimeZone.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LoggingTimeZone 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
-
getTimeZone
public java.util.TimeZone getTimeZone()
-
-