Package io.guise.framework.converter
Enum DateStringLiteralStyle
- All Implemented Interfaces:
Serializable
,Comparable<DateStringLiteralStyle>
The style of a date in its string literal form.
-
Enum Constant Summary
Enum ConstantDescriptionThe day of the week, such as Tuesday.The abbreviated day of the week, such as Tue.A completely specified representation, such as Tuesday, April 12, 1952 AD.A long representation, such as January 12, 1952.A medium representation, such as Jan 12, 1952.The month of the year, such as January.The abbreviated month of the year, such as Jan.A completely numeric representation, such as 12.13.52. -
Method Summary
Modifier and TypeMethodDescriptionstatic DateStringLiteralStyle
Returns the enum constant of this type with the specified name.static DateStringLiteralStyle[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SHORT
A completely numeric representation, such as 12.13.52. -
MEDIUM
A medium representation, such as Jan 12, 1952. -
LONG
A long representation, such as January 12, 1952. -
FULL
A completely specified representation, such as Tuesday, April 12, 1952 AD. -
DAY_OF_WEEK
The day of the week, such as Tuesday. -
DAY_OF_WEEK_SHORT
The abbreviated day of the week, such as Tue. -
MONTH_OF_YEAR
The month of the year, such as January. -
MONTH_OF_YEAR_SHORT
The abbreviated month of the year, such as Jan.
-
-
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
-