public enum DateOutputFormat extends Enum<DateOutputFormat>
Enum Constant and Description |
---|
ISO
The ISO standard format for dates/times.
|
SQL
The SQL literal format for dates.
|
Modifier and Type | Method and Description |
---|---|
static DateOutputFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateOutputFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateOutputFormat SQL
public static final DateOutputFormat ISO
public static DateOutputFormat[] values()
for (DateOutputFormat c : DateOutputFormat.values()) System.out.println(c);
public static DateOutputFormat 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 © 1970 The Apache Software Foundation. All rights reserved.