com.siemens.ct.exi.util.datatype
Enum DatetimeType
java.lang.Object
java.lang.Enum<DatetimeType>
com.siemens.ct.exi.util.datatype.DatetimeType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<DatetimeType>
public enum DatetimeType
- extends java.lang.Enum<DatetimeType>
TODO Description
- Version:
- 0.4.20080718
- Author:
- Daniel.Peintner.EXT@siemens.com, Joerg.Heuer@siemens.com
Method Summary |
static DatetimeType |
valueOf(java.lang.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. |
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
gYear
public static final DatetimeType gYear
gYearMonth
public static final DatetimeType gYearMonth
date
public static final DatetimeType date
dateTime
public static final DatetimeType dateTime
gMonth
public static final DatetimeType gMonth
gMonthDay
public static final DatetimeType gMonthDay
gDay
public static final DatetimeType gDay
time
public static final DatetimeType time
values
public static DatetimeType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (DatetimeType c : DatetimeType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DatetimeType valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null