- All Implemented Interfaces:
Serializable,Comparable<Dates>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFormat : dd-MM-yyyyFormat : dd MMMFormat : dd MMM yyyyFormat : dd MMMMFormat : dd MMMM yyyyFormat : MM-dd-yyyyFormat : MMM ddFormat : MMM dd, yyyyFormat : MMMM ddFormat : MMMM dd, yyyyFormat : yyyyFormat : yyyy-MMFormat : yyyy-MM-ddFormat : yyyy-'W'wFormat : yyyy-'W'w-eFormat : yyyyMMFormat : yyyyMMddFormat : yyyy'W'wFormat : yyyy'W'we -
Method Summary
-
Enum Constant Details
-
yyyy_MM_dd
Format : yyyy-MM-dd
Example: 2022-03-30
-
yyyy_MM
Format : yyyy-MM
Example: 2022-03
-
yyyyMMdd
Format : yyyyMMdd
Example: 20220330
-
yyyyMM
Format : yyyyMM
Example: 202203
-
yyyy
Format : yyyy
Example: 2022
-
yyyy_w
Format : yyyy-'W'w
Example: 2022-W01
-
yyyyw
Format : yyyy'W'w
Example: 2022W01
-
yyyy_w_e
Format : yyyy-'W'w-e
Example: 2022-W01-2
-
yyyywe
Format : yyyy'W'we
Example: 2022-W01-2
-
dd_MM_yyyy
Format : dd-MM-yyyy
Example: 30-03-2022
-
MM_dd_yyyy
Format : MM-dd-yyyy
Example: 03-30-2022
-
MMMM_dd_yyyy
Format : MMMM dd, yyyy
Example: March 30, 2022
-
MMMM_dd
Format : MMMM dd
Example: March 30
-
MMM_dd_yyyy
Format : MMM dd, yyyy
Example: Mar 30, 2022
-
MMM_dd
Format : MMM dd
Example: Mar 30
-
dd_MMM_yyyy
Format : dd MMM yyyy
Example: 30 Mar 2022
-
dd_MMM
Format : dd MMM
Example: 30 Mar
-
dd_MMMM_yyyy
Format : dd MMMM yyyy
Example: 30 March 2022
-
dd_MMMM
Format : dd MMMM
Example: 30 March
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
parse
-
parseDate
-
parseDate
-
format
-
format
-
format
-