public static enum DateUtils.DateFormat extends Enum<DateUtils.DateFormat>
Enum Constant and Description |
---|
DELIMITED
yyyy/MM/dd HH:mm:ss delimiting of a date
|
NONDELIMITED
yyyyMMddHHmmss non-delimiting of a date
|
Modifier and Type | Method and Description |
---|---|
static DateUtils.DateFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateUtils.DateFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateUtils.DateFormat DELIMITED
public static final DateUtils.DateFormat NONDELIMITED
public static DateUtils.DateFormat[] values()
for (DateUtils.DateFormat c : DateUtils.DateFormat.values()) System.out.println(c);
public static DateUtils.DateFormat 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 © 2015. All rights reserved.