- java.lang.Object
-
- java.lang.Enum<UTCTiming.Type>
-
- io.lindstrom.mpd.data.UTCTiming.Type
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<UTCTiming.Type>,java.lang.constant.Constable
- Enclosing class:
- UTCTiming
public static enum UTCTiming.Type extends java.lang.Enum<UTCTiming.Type>
-
-
Method Summary
Modifier and Type Method Description static UTCTiming.TypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static UTCTiming.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NTP
public static final UTCTiming.Type NTP
-
SNTP
public static final UTCTiming.Type SNTP
-
HTTP_HEAD
public static final UTCTiming.Type HTTP_HEAD
-
HTTP_XSDATE
public static final UTCTiming.Type HTTP_XSDATE
-
HTTP_ISO
public static final UTCTiming.Type HTTP_ISO
-
HTTP_NTP
public static final UTCTiming.Type HTTP_NTP
-
DIRECT
public static final UTCTiming.Type DIRECT
-
-
Method Detail
-
values
public static UTCTiming.Type[] 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 UTCTiming.Type 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
-
-