public static enum Constants.TimeStyle extends Enum<Constants.TimeStyle>
| Enum Constant and Description |
|---|
FRENCH_DECIMAL |
STANDARD |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
format(DefaultContext defaultContext,
boolean neg,
int h,
int m,
int s) |
static Constants.TimeStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.TimeStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.TimeStyle STANDARD
public static final Constants.TimeStyle FRENCH_DECIMAL
public static Constants.TimeStyle[] values()
for (Constants.TimeStyle c : Constants.TimeStyle.values()) System.out.println(c);
public static Constants.TimeStyle valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic abstract String format(DefaultContext defaultContext, boolean neg, int h, int m, int s)
Copyright © 2015. All Rights Reserved.