public static enum DateUtil.TIMETYPE extends Enum<DateUtil.TIMETYPE>
Modifier and Type | Method and Description |
---|---|
static DateUtil.TIMETYPE |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateUtil.TIMETYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateUtil.TIMETYPE DAYS
public static final DateUtil.TIMETYPE HOURS
public static final DateUtil.TIMETYPE MINUTES
public static final DateUtil.TIMETYPE SECONDS
public static DateUtil.TIMETYPE[] values()
for (DateUtil.TIMETYPE c : DateUtil.TIMETYPE.values()) System.out.println(c);
public static DateUtil.TIMETYPE 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 © 2016. All Rights Reserved.