Package com.ibm.icu.impl
Enum DayPeriodRules.CutoffType
- java.lang.Object
-
- java.lang.Enum<DayPeriodRules.CutoffType>
-
- com.ibm.icu.impl.DayPeriodRules.CutoffType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DayPeriodRules.CutoffType>
- Enclosing class:
- DayPeriodRules
private static enum DayPeriodRules.CutoffType extends java.lang.Enum<DayPeriodRules.CutoffType>
-
-
Constructor Summary
Constructors Modifier Constructor Description private
CutoffType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static DayPeriodRules.CutoffType
fromStringOrNull(java.lang.CharSequence str)
static DayPeriodRules.CutoffType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DayPeriodRules.CutoffType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BEFORE
public static final DayPeriodRules.CutoffType BEFORE
-
AFTER
public static final DayPeriodRules.CutoffType AFTER
-
FROM
public static final DayPeriodRules.CutoffType FROM
-
AT
public static final DayPeriodRules.CutoffType AT
-
-
Method Detail
-
values
public static DayPeriodRules.CutoffType[] 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 (DayPeriodRules.CutoffType c : DayPeriodRules.CutoffType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DayPeriodRules.CutoffType 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
-
fromStringOrNull
private static DayPeriodRules.CutoffType fromStringOrNull(java.lang.CharSequence str)
-
-