@Internal public enum TimestampFormat extends Enum<TimestampFormat>
Enum Constant and Description |
---|
ISO_8601
Options to specify TIMESTAMP/TIMESTAMP_WITH_LOCAL_ZONE format.
|
SQL
Options to specify TIMESTAMP/TIMESTAMP_WITH_LOCAL_ZONE format.
|
Modifier and Type | Method and Description |
---|---|
static TimestampFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimestampFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimestampFormat SQL
public static final TimestampFormat ISO_8601
public static TimestampFormat[] values()
for (TimestampFormat c : TimestampFormat.values()) System.out.println(c);
public static TimestampFormat 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 © 2014–2024 The Apache Software Foundation. All rights reserved.