Package org.teamapps.ux.session
Enum DateTimeFormatDescriptor.HourCycleType
- java.lang.Object
-
- java.lang.Enum<DateTimeFormatDescriptor.HourCycleType>
-
- org.teamapps.ux.session.DateTimeFormatDescriptor.HourCycleType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DateTimeFormatDescriptor.HourCycleType>
- Enclosing class:
- DateTimeFormatDescriptor
public static enum DateTimeFormatDescriptor.HourCycleType extends java.lang.Enum<DateTimeFormatDescriptor.HourCycleType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.teamapps.dto.UiHourCycleTypetoUiValue()static DateTimeFormatDescriptor.HourCycleTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DateTimeFormatDescriptor.HourCycleType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
H11
public static final DateTimeFormatDescriptor.HourCycleType H11
0-11
-
H12
public static final DateTimeFormatDescriptor.HourCycleType H12
1-12
-
H23
public static final DateTimeFormatDescriptor.HourCycleType H23
0-23
-
H24
public static final DateTimeFormatDescriptor.HourCycleType H24
1-24
-
-
Method Detail
-
values
public static DateTimeFormatDescriptor.HourCycleType[] 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.HourCycleType c : DateTimeFormatDescriptor.HourCycleType.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.HourCycleType 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
-
toUiValue
public org.teamapps.dto.UiHourCycleType toUiValue()
-
-