Enum Constant and Description |
---|
day
Deprecated.
|
dayofyear
Deprecated.
|
hour
Deprecated.
|
microsecond
Deprecated.
|
millisecond
Deprecated.
|
minute
Deprecated.
|
month
Deprecated.
|
nanosecond
Deprecated.
|
quarter
Deprecated.
|
second
Deprecated.
|
week
Deprecated.
|
year
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static DatePart |
valueOf(java.lang.String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static DatePart[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatePart year
public static final DatePart quarter
public static final DatePart month
public static final DatePart dayofyear
public static final DatePart day
public static final DatePart week
public static final DatePart hour
public static final DatePart minute
public static final DatePart second
public static final DatePart millisecond
public static final DatePart microsecond
public static final DatePart nanosecond
public static DatePart[] values()
for (DatePart c : DatePart.values()) System.out.println(c);
public static DatePart valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2007-2013 Mysema Ltd. All Rights Reserved.