public enum MinuteFormat extends java.lang.Enum<MinuteFormat>
Timetable
view.Enum Constant and Description |
---|
Colons
Display a colon and a leading zero.
|
Hidden
The minutes are not displayed.
|
LeadingZero
Display a leading zero for single digit minutes.
|
NoLeadingZero
No leading zero for single digit minutes.
|
Modifier and Type | Method and Description |
---|---|
static MinuteFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MinuteFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MinuteFormat Hidden
public static final MinuteFormat NoLeadingZero
public static final MinuteFormat LeadingZero
public static final MinuteFormat Colons
public static MinuteFormat[] values()
for (MinuteFormat c : MinuteFormat.values()) System.out.println(c);
public static MinuteFormat valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null