Package org.teamapps.ux.session
Enum DateTimeFormatDescriptor.NumericOrLongShortNarrowType
- java.lang.Object
-
- java.lang.Enum<DateTimeFormatDescriptor.NumericOrLongShortNarrowType>
-
- org.teamapps.ux.session.DateTimeFormatDescriptor.NumericOrLongShortNarrowType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DateTimeFormatDescriptor.NumericOrLongShortNarrowType>
- Enclosing class:
- DateTimeFormatDescriptor
public static enum DateTimeFormatDescriptor.NumericOrLongShortNarrowType extends java.lang.Enum<DateTimeFormatDescriptor.NumericOrLongShortNarrowType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetJsLiteral()org.teamapps.dto.UiNumericOrLongShortNarrowTypetoUiValue()static DateTimeFormatDescriptor.NumericOrLongShortNarrowTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DateTimeFormatDescriptor.NumericOrLongShortNarrowType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NUMERIC
public static final DateTimeFormatDescriptor.NumericOrLongShortNarrowType NUMERIC
-
TWO_DIGIT
public static final DateTimeFormatDescriptor.NumericOrLongShortNarrowType TWO_DIGIT
-
LONG
public static final DateTimeFormatDescriptor.NumericOrLongShortNarrowType LONG
-
SHORT
public static final DateTimeFormatDescriptor.NumericOrLongShortNarrowType SHORT
-
NARROW
public static final DateTimeFormatDescriptor.NumericOrLongShortNarrowType NARROW
-
-
Method Detail
-
values
public static DateTimeFormatDescriptor.NumericOrLongShortNarrowType[] 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 (DateTimeFormatDescriptor.NumericOrLongShortNarrowType c : DateTimeFormatDescriptor.NumericOrLongShortNarrowType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DateTimeFormatDescriptor.NumericOrLongShortNarrowType 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
-
getJsLiteral
public java.lang.String getJsLiteral()
-
toUiValue
public org.teamapps.dto.UiNumericOrLongShortNarrowType toUiValue()
-
-