public enum TimeDisplayFormat extends java.lang.Enum<TimeDisplayFormat> implements ValueEnum
Enum Constant and Description |
---|
TO24HOURTIME
String will display with seconds in 24 hour time:
[H]H:MM:SS . |
TOPADDED24HOURTIME
String will display with seconds, with a 2 digit hour in 24 hour format:
HH:MM:SS Examples: 15:25:15 , 03:16:45 |
TOPADDEDTIME
String will display with seconds, with a 2 digit hour and am/pm indicator:
HH:MM:SS am|pm Example: 03:25:15 pm |
TOSHORT24HOURTIME
String will have no seconds and be in 24 hour format:
[H]H:MM Example: 15:25 |
TOSHORTPADDED24HOURTIME
String will have no seconds and will display with a 2 digit hour in 24 hour clock format:
HH:MM Examples: 15:25 , 03:16 |
TOSHORTPADDEDTIME
String will have no seconds and will display a 2 digit hour, in 12 hour clock format:
HH:MM am|pm Example: 03:25 pm |
TOSHORTTIME
String will have no seconds and be in 12 hour format:
[H]H:MM am|pm Example: 3:25 pm |
TOTIME
String will display with seconds and am/pm indicator:
[H]H:MM:SS am|pm . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static TimeDisplayFormat |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TimeDisplayFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeDisplayFormat TOTIME
[H]H:MM:SS am|pm
. 3:25:15
pm
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "toTime".
public static final TimeDisplayFormat TO24HOURTIME
[H]H:MM:SS
. 15:25:15
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "to24HourTime".
public static final TimeDisplayFormat TOPADDEDTIME
HH:MM:SS am|pm
03:25:15 pm
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "toPaddedTime".
public static final TimeDisplayFormat TOPADDED24HOURTIME
HH:MM:SS
15:25:15
, 03:16:45
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "toPadded24HourTime".
public static final TimeDisplayFormat TOSHORTTIME
[H]H:MM am|pm
3:25 pm
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "toShortTime".
public static final TimeDisplayFormat TOSHORT24HOURTIME
[H]H:MM
15:25
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "toShort24HourTime".
public static final TimeDisplayFormat TOSHORTPADDEDTIME
HH:MM am|pm
03:25 pm
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "toShortPaddedTime".
public static final TimeDisplayFormat TOSHORTPADDED24HOURTIME
HH:MM
15:25
, 03:16
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "toShortPadded24HourTime".
public static TimeDisplayFormat[] values()
for (TimeDisplayFormat c : TimeDisplayFormat.values()) System.out.println(c);
public static TimeDisplayFormat 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