public enum DateTimePrecision extends Enum<DateTimePrecision>
Enum Constant and Description |
---|
Default |
Milliseconds |
Seconds |
Modifier and Type | Method and Description |
---|---|
static DateTimePrecision |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateTimePrecision[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateTimePrecision Default
public static final DateTimePrecision Seconds
public static final DateTimePrecision Milliseconds
public static DateTimePrecision[] values()
for (DateTimePrecision c : DateTimePrecision.values()) System.out.println(c);
public static DateTimePrecision 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 © 2012–2015 Microsoft. All rights reserved.