APIdia Launch Partner
Top Description Fields Constructors Methods
io.github.spannm.jackcess

public final Enum DateTimeType

extends Enum<DateTimeType>
Class Inheritance

Enum for selecting how a Database returns date/time types. Prefer using DateTimeType#LOCAL_DATE_TIME as using Date is being phased out and will eventually be removed.

Field Summary

Modifier and TypeField and Description
public static final DateTimeType
DATE

Use legacy java.util.Date objects.

public static final DateTimeType

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static DateTimeType
public static DateTimeType[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

DATEback to summary
public static final DateTimeType DATE

Use legacy java.util.Date objects. This was the default for Jackcess before version 3.5.

LOCAL_DATE_TIMEback to summary
public static final DateTimeType LOCAL_DATE_TIME

Use jdk8+ java.time.LocalDateTime objects. This is the default for Jackcess from version 3.5 onwards.

Constructor Detail

DateTimeTypeback to summary
private DateTimeType()

Method Detail

valueOfback to summary
public static DateTimeType valueOf(String name)
valuesback to summary
public static DateTimeType[] values()