public enum DateRangeFormat extends Enum<DateRangeFormat>
Enum Constant and Description |
---|
ISO
Formats date/time ranges in ISO 8601 time interval format, with a
'/' character
between the start and end values. |
OBJECT
Formats date/time ranges as a JSON object with and
keys.
|
Modifier and Type | Method and Description |
---|---|
static DateRangeFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateRangeFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateRangeFormat ISO
'/'
character
between the start and end values.public static final DateRangeFormat OBJECT
public static DateRangeFormat[] values()
for (DateRangeFormat c : DateRangeFormat.values()) System.out.println(c);
public static DateRangeFormat valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2019–2021 HCL. All rights reserved.