public static enum Time.TimeFormat extends Enum<Time.TimeFormat>
ISO8601 - full ISO 8601 format Y - only year YM - year, month YMD - year, month, day | Modifier and Type | Field and Description |
|---|---|
static Collection<Time.TimeFormat> |
SUPPORTED_FORMATS |
| Modifier and Type | Method and Description |
|---|---|
static Time.TimeFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Time.TimeFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Time.TimeFormat ISO8601
public static final Time.TimeFormat YMD
public static final Time.TimeFormat YM
public static final Time.TimeFormat Y
public static final Time.TimeFormat NOT_SET
public static final Collection<Time.TimeFormat> SUPPORTED_FORMATS
public static Time.TimeFormat[] values()
for (Time.TimeFormat c : Time.TimeFormat.values()) System.out.println(c);
public static Time.TimeFormat 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 © 2015–2021 52North Initiative for Geospatial Open Source Software GmbH. All rights reserved.