com.azalient.apo.basics
Enum UTime.Format
java.lang.Object
java.lang.Enum<UTime.Format>
com.azalient.apo.basics.UTime.Format
- All Implemented Interfaces:
- Serializable, Comparable<UTime.Format>
- Enclosing class:
- UTime
public static enum UTime.Format
- extends Enum<UTime.Format>
|
Method Summary |
static UTime.Format |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static UTime.Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
YYYYDDDHHMMSS
public static final UTime.Format YYYYDDDHHMMSS
DDDHHMMSS
public static final UTime.Format DDDHHMMSS
HHMMSS
public static final UTime.Format HHMMSS
HHMM
public static final UTime.Format HHMM
MMSS
public static final UTime.Format MMSS
values
public static UTime.Format[] 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 (UTime.Format c : UTime.Format.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static UTime.Format 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 name
NullPointerException - if the argument is null