public enum DateTimeType extends Enum<DateTimeType>
| Enum Constant and Description |
|---|
date
A date is an object with year, month, and day properties just like those
of dateTime objects, plus an optional timezone-valued timezone property
|
dateTime
dateTime values may be viewed as objects with integer-valued year, month,
day, hour and minute properties, a decimal-valued second property, and a
boolean timezoned property.
|
gDay
gDay is a gregorian day that recurs, specifically a day of the month such
as the 5th of the month
|
gMonth
gMonth is a gregorian month that recurs every year
|
gMonthDay
gMonthDay is a gregorian date that recurs, specifically a day of the year
such as the third of May
|
gYear
gYear represents a gregorian calendar year
|
gYearMonth
gYearMonth represents a specific gregorian month in a specific gregorian
year
|
time
time represents an instant of time that recurs every day
|
| Modifier and Type | Method and Description |
|---|---|
static DateTimeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateTimeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateTimeType gYear
public static final DateTimeType gYearMonth
public static final DateTimeType date
public static final DateTimeType dateTime
public static final DateTimeType gMonth
public static final DateTimeType gMonthDay
public static final DateTimeType gDay
public static final DateTimeType time
public static DateTimeType[] values()
for (DateTimeType c : DateTimeType.values()) System.out.println(c);
public static DateTimeType 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 © 2018 Siemens AG. All rights reserved.