Package com.squarespace.cldrengine.api
Enum ContextTransformFieldType
- java.lang.Object
-
- java.lang.Enum<ContextTransformFieldType>
-
- com.squarespace.cldrengine.api.ContextTransformFieldType
-
- All Implemented Interfaces:
StringEnum<ContextTransformFieldType>
,java.io.Serializable
,java.lang.Comparable<ContextTransformFieldType>
public enum ContextTransformFieldType extends java.lang.Enum<ContextTransformFieldType> implements StringEnum<ContextTransformFieldType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CALENDAR_FIELD
CURRENCYNAME
DAY_FORMAT_EXCEPT_NARROW
DAY_STANDALONE_EXCEPT_NARROW
ERA_ABBR
ERA_NAME
KEYVALUE
LANGUAGES
MONTH_FORMAT_EXCEPT_NARROW
MONTH_STANDALONE_EXCEPT_NARROW
NUMBER_SPELLOUT
RELATIVE
SCRIPT
TYPOGRAPHICNAMES
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContextTransformFieldType
fromString(java.lang.String s)
java.lang.String
value()
static ContextTransformFieldType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ContextTransformFieldType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CALENDAR_FIELD
public static final ContextTransformFieldType CALENDAR_FIELD
-
CURRENCYNAME
public static final ContextTransformFieldType CURRENCYNAME
-
DAY_FORMAT_EXCEPT_NARROW
public static final ContextTransformFieldType DAY_FORMAT_EXCEPT_NARROW
-
DAY_STANDALONE_EXCEPT_NARROW
public static final ContextTransformFieldType DAY_STANDALONE_EXCEPT_NARROW
-
ERA_ABBR
public static final ContextTransformFieldType ERA_ABBR
-
ERA_NAME
public static final ContextTransformFieldType ERA_NAME
-
KEYVALUE
public static final ContextTransformFieldType KEYVALUE
-
LANGUAGES
public static final ContextTransformFieldType LANGUAGES
-
MONTH_FORMAT_EXCEPT_NARROW
public static final ContextTransformFieldType MONTH_FORMAT_EXCEPT_NARROW
-
MONTH_STANDALONE_EXCEPT_NARROW
public static final ContextTransformFieldType MONTH_STANDALONE_EXCEPT_NARROW
-
NUMBER_SPELLOUT
public static final ContextTransformFieldType NUMBER_SPELLOUT
-
RELATIVE
public static final ContextTransformFieldType RELATIVE
-
SCRIPT
public static final ContextTransformFieldType SCRIPT
-
TYPOGRAPHICNAMES
public static final ContextTransformFieldType TYPOGRAPHICNAMES
-
-
Method Detail
-
values
public static ContextTransformFieldType[] 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 (ContextTransformFieldType c : ContextTransformFieldType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ContextTransformFieldType 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
-
value
public java.lang.String value()
- Specified by:
value
in interfaceStringEnum<ContextTransformFieldType>
-
fromString
public static ContextTransformFieldType fromString(java.lang.String s)
-
-