Enum SkeletonData.Field
- java.lang.Object
-
- java.lang.Enum<SkeletonData.Field>
-
- com.squarespace.cldrengine.calendars.SkeletonData.Field
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SkeletonData.Field>
- Enclosing class:
- SkeletonData
public static enum SkeletonData.Field extends java.lang.Enum<SkeletonData.Field>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DAY
DAY_OF_WEEK_IN_MONTH
DAY_OF_YEAR
DAYPERIOD
ERA
FRACTIONAL_SECOND
HOUR
MAX_TYPE
MINUTE
MONTH
QUARTER
SECOND
WEEK_OF_MONTH
WEEK_OF_YEAR
WEEKDAY
YEAR
ZONE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SkeletonData.Field
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SkeletonData.Field[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ERA
public static final SkeletonData.Field ERA
-
YEAR
public static final SkeletonData.Field YEAR
-
QUARTER
public static final SkeletonData.Field QUARTER
-
MONTH
public static final SkeletonData.Field MONTH
-
WEEK_OF_YEAR
public static final SkeletonData.Field WEEK_OF_YEAR
-
WEEK_OF_MONTH
public static final SkeletonData.Field WEEK_OF_MONTH
-
WEEKDAY
public static final SkeletonData.Field WEEKDAY
-
DAY
public static final SkeletonData.Field DAY
-
DAY_OF_YEAR
public static final SkeletonData.Field DAY_OF_YEAR
-
DAY_OF_WEEK_IN_MONTH
public static final SkeletonData.Field DAY_OF_WEEK_IN_MONTH
-
DAYPERIOD
public static final SkeletonData.Field DAYPERIOD
-
HOUR
public static final SkeletonData.Field HOUR
-
MINUTE
public static final SkeletonData.Field MINUTE
-
SECOND
public static final SkeletonData.Field SECOND
-
FRACTIONAL_SECOND
public static final SkeletonData.Field FRACTIONAL_SECOND
-
ZONE
public static final SkeletonData.Field ZONE
-
MAX_TYPE
public static final SkeletonData.Field MAX_TYPE
-
-
Method Detail
-
values
public static SkeletonData.Field[] 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 (SkeletonData.Field c : SkeletonData.Field.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SkeletonData.Field 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
-
-