public static enum JsonConfig.DateTime extends Enum<JsonConfig.DateTime>
Enum Constant and Description |
---|
ISO8601
Format as ISO-8601 date format.
|
MILLIS
Format as epoch millis.
|
NANOS
Format as epoch with nanos.
|
Modifier and Type | Method and Description |
---|---|
static JsonConfig.DateTime |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JsonConfig.DateTime[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsonConfig.DateTime MILLIS
public static final JsonConfig.DateTime NANOS
public static final JsonConfig.DateTime ISO8601
public static JsonConfig.DateTime[] values()
for (JsonConfig.DateTime c : JsonConfig.DateTime.values()) System.out.println(c);
public static JsonConfig.DateTime 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. All rights reserved.