Enum MixedItemStyle
- java.lang.Object
-
- java.lang.Enum<MixedItemStyle>
-
- org.pepstock.charba.client.intl.enums.MixedItemStyle
-
- All Implemented Interfaces:
Serializable
,Comparable<MixedItemStyle>
,Key
public enum MixedItemStyle extends Enum<MixedItemStyle> implements Key
Enumerates the possible value to set the representation of the month.- Author:
- Andrea "Stock" Stocchero
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LONG
Long setting for month (e.g., March).NARROW
Narrow setting for month (e.g., M).
Two months may have the same narrow style for some locales (e.g.NUMERIC
Numeric setting for month (e.g., 2).SHORT
Short setting for month (e.g., Mar).TWO_DIGITS
2 digits setting for month (e.g., 02).
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
value()
Returns the name value of propertystatic MixedItemStyle
valueOf(String name)
Returns the enum constant of this type with the specified name.static MixedItemStyle[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NUMERIC
public static final MixedItemStyle NUMERIC
Numeric setting for month (e.g., 2).
-
TWO_DIGITS
public static final MixedItemStyle TWO_DIGITS
2 digits setting for month (e.g., 02).
-
NARROW
public static final MixedItemStyle NARROW
Narrow setting for month (e.g., M).
Two months may have the same narrow style for some locales (e.g. May's narrow style is also M).
-
LONG
public static final MixedItemStyle LONG
Long setting for month (e.g., March).
-
SHORT
public static final MixedItemStyle SHORT
Short setting for month (e.g., Mar).
-
-
Method Detail
-
values
public static MixedItemStyle[] 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 (MixedItemStyle c : MixedItemStyle.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MixedItemStyle valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-