Package com.ibm.icu.impl
Enum DayPeriodRules.DayPeriod
- java.lang.Object
-
- java.lang.Enum<DayPeriodRules.DayPeriod>
-
- com.ibm.icu.impl.DayPeriodRules.DayPeriod
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<DayPeriodRules.DayPeriod>
- Enclosing class:
- DayPeriodRules
public static enum DayPeriodRules.DayPeriod extends java.lang.Enum<DayPeriodRules.DayPeriod>
-
-
Field Summary
Fields Modifier and Type Field Description static DayPeriodRules.DayPeriod[]
VALUES
-
Constructor Summary
Constructors Modifier Constructor Description private
DayPeriod()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static DayPeriodRules.DayPeriod
fromStringOrNull(java.lang.CharSequence str)
static DayPeriodRules.DayPeriod
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static DayPeriodRules.DayPeriod[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MIDNIGHT
public static final DayPeriodRules.DayPeriod MIDNIGHT
-
NOON
public static final DayPeriodRules.DayPeriod NOON
-
MORNING1
public static final DayPeriodRules.DayPeriod MORNING1
-
AFTERNOON1
public static final DayPeriodRules.DayPeriod AFTERNOON1
-
EVENING1
public static final DayPeriodRules.DayPeriod EVENING1
-
NIGHT1
public static final DayPeriodRules.DayPeriod NIGHT1
-
MORNING2
public static final DayPeriodRules.DayPeriod MORNING2
-
AFTERNOON2
public static final DayPeriodRules.DayPeriod AFTERNOON2
-
EVENING2
public static final DayPeriodRules.DayPeriod EVENING2
-
NIGHT2
public static final DayPeriodRules.DayPeriod NIGHT2
-
AM
public static final DayPeriodRules.DayPeriod AM
-
PM
public static final DayPeriodRules.DayPeriod PM
-
-
Field Detail
-
VALUES
public static DayPeriodRules.DayPeriod[] VALUES
-
-
Method Detail
-
values
public static DayPeriodRules.DayPeriod[] 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.DayPeriod c : DayPeriodRules.DayPeriod.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.DayPeriod 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.DayPeriod fromStringOrNull(java.lang.CharSequence str)
-
-