|
||||||||||
| PREV CLASS NEXT CLASS | All Classes | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<DateTimeKind>
com.teraspaces.qwframework.DateTimeKind
public enum DateTimeKind
Specifies whether a DateTime object represents a local time, a Coordinated Universal Time (UTC), or is not specified as either local time or UTC.
| Enum Constant Summary | |
|---|---|
Local
The time represented is local time. |
|
Unspecified
The time represented is not specified as either local time or Coordinated Universal Time (UTC). |
|
Utc
The time represented is UTC. |
|
| Method Summary | |
|---|---|
static DateTimeKind |
fromOrdinal(int value)
Get a DateTimeKind of its ordinal value. |
static DateTimeKind |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DateTimeKind[] |
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 |
| Enum Constant Detail |
|---|
public static final DateTimeKind Unspecified
public static final DateTimeKind Utc
public static final DateTimeKind Local
| Method Detail |
|---|
public static DateTimeKind[] values()
for (DateTimeKind c : DateTimeKind.values()) System.out.println(c);
public static DateTimeKind valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic static DateTimeKind fromOrdinal(int value)
value - the ordinal value, must be 0, 1, or 2
|
||||||||||
| PREV CLASS NEXT CLASS | All Classes | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||