public enum DateTimeKind extends Enum<DateTimeKind>
| Enum Constant and Description |
|---|
DATE
Represented by LocalDate.
|
DATE_TIME
Represented by LocalDateTime.
|
DATE_TIME_ZONE
Represented by ZonedDateTime.
|
INSTANT
Represented by Instant.
|
TIME
Represented by LocalTime.
|
| Modifier and Type | Method and Description |
|---|---|
static DateTimeKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateTimeKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateTimeKind DATE_TIME
public static final DateTimeKind DATE_TIME_ZONE
public static final DateTimeKind DATE
public static final DateTimeKind TIME
public static final DateTimeKind INSTANT
public static DateTimeKind[] values()
for (DateTimeKind c : DateTimeKind.values()) System.out.println(c);
public static DateTimeKind 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 © 2016–2020 Softelnet. All rights reserved.