public enum DateTimeFormat extends Enum<DateTimeFormat>
| Enum Constant and Description |
|---|
DATE_0 |
DATE_1 |
DATE_2 |
DATE_3 |
DATE_TIME_0 |
DATE_TIME_1 |
DATE_TIME_2 |
DATE_TIME_3 |
DATE_TIME_4 |
TIME_0 |
TIME_1 |
TIME_2 |
| Modifier and Type | Method and Description |
|---|---|
String |
getFormat() |
static DateTimeFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateTimeFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateTimeFormat DATE_0
public static final DateTimeFormat DATE_1
public static final DateTimeFormat DATE_2
public static final DateTimeFormat DATE_3
public static final DateTimeFormat TIME_0
public static final DateTimeFormat TIME_1
public static final DateTimeFormat TIME_2
public static final DateTimeFormat DATE_TIME_0
public static final DateTimeFormat DATE_TIME_1
public static final DateTimeFormat DATE_TIME_2
public static final DateTimeFormat DATE_TIME_3
public static final DateTimeFormat DATE_TIME_4
public static DateTimeFormat[] values()
for (DateTimeFormat c : DateTimeFormat.values()) System.out.println(c);
public static DateTimeFormat 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 nullpublic String getFormat()
Copyright © 2021. All rights reserved.