Enum EdalDatePrecision
- java.lang.Object
-
- java.lang.Enum<EdalDatePrecision>
-
- de.ipk_gatersleben.bit.bi.edal.primary_data.metadata.EdalDatePrecision
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<EdalDatePrecision>
,java.lang.constant.Constable
public enum EdalDatePrecision extends java.lang.Enum<EdalDatePrecision>
Enum
of all possible precisions ofEdalDate
.
-
-
Method Summary
Modifier and Type Method Description static EdalDatePrecision
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static EdalDatePrecision[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CENTURY
public static final EdalDatePrecision CENTURY
-
DECADE
public static final EdalDatePrecision DECADE
-
YEAR
public static final EdalDatePrecision YEAR
-
MONTH
public static final EdalDatePrecision MONTH
-
DAY
public static final EdalDatePrecision DAY
-
HOUR
public static final EdalDatePrecision HOUR
-
MINUTE
public static final EdalDatePrecision MINUTE
-
SECOND
public static final EdalDatePrecision SECOND
-
MILLISECOND
public static final EdalDatePrecision MILLISECOND
-
-
Method Detail
-
values
public static EdalDatePrecision[] 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 EdalDatePrecision 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
-
-