public enum DateTimeType extends Enum<DateTimeType>
LOCAL_DATE_TIME
as using Date is being phased out and
will eventually be removed.Enum Constant and Description |
---|
DATE
Use legacy
Date objects. |
LOCAL_DATE_TIME
Use jdk8+
LocalDateTime objects. |
Modifier and Type | Method and Description |
---|---|
static DateTimeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateTimeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateTimeType DATE
Date
objects. This was the default for
Jackcess before version 3.5.public static final DateTimeType LOCAL_DATE_TIME
LocalDateTime
objects. This is the default
for Jackcess from version 3.5 onwards.public static DateTimeType[] values()
for (DateTimeType c : DateTimeType.values()) System.out.println(c);
public static DateTimeType 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 © 2005–2024 OpenHMS. All rights reserved.