Enum DateDataType
- java.lang.Object
-
- java.lang.Enum<DateDataType>
-
- me.saro.commons.bytes.fd.annotations.DateDataType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DateDataType>,java.lang.constant.Constable
public enum DateDataType extends java.lang.Enum<DateDataType>
Date Type- Since:
- 1.4
- Author:
- PARK Yong Seo
-
-
Method Summary
Modifier and Type Method Description static DateDataTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DateDataType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
millis8
public static final DateDataType millis8
time millis : 8byte long
-
unix4
public static final DateDataType unix4
unix time : 4byte int
-
unix8
public static final DateDataType unix8
unix time : 8byte long
-
-
Method Detail
-
values
public static DateDataType[] 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 DateDataType 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
-
-