Enum TimeDisplayFormat
- All Implemented Interfaces:
ValueEnum
,Serializable
,Comparable<TimeDisplayFormat>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionString will display with seconds in 24 hour time:[H]H:MM:SS
.String will display with seconds, with a 2 digit hour in 24 hour format:HH:MM:SS
Examples:15:25:15
,03:16:45
String will display with seconds, with a 2 digit hour and am/pm indicator:HH:MM:SS am|pm
Example:03:25:15 pm
String will have no seconds and be in 24 hour format:[H]H:MM
Example:15:25
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
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
String will have no seconds and be in 12 hour format:[H]H:MM am|pm
Example:3:25 pm
String will display with seconds and am/pm indicator:[H]H:MM:SS am|pm
. -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
static TimeDisplayFormat
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.
-
Enum Constant Details
-
TOTIME
String will display with seconds and am/pm indicator:[H]H:MM:SS am|pm
.
Example: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". -
TO24HOURTIME
String will display with seconds in 24 hour time:[H]H:MM:SS
.
Example: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". -
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
If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "toPaddedTime". -
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
If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "toPadded24HourTime". -
TOSHORTTIME
String will have no seconds and be in 12 hour format:[H]H:MM am|pm
Example: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". -
TOSHORT24HOURTIME
String will have no seconds and be in 24 hour format:[H]H:MM
Example: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". -
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
If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "toShortPaddedTime". -
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
If this enumerated value is used in a
Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "toShortPadded24HourTime".
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException
- if the argument is null
-
getValue
-