org.shetline.util
Enum DateUtil.DateParseState
java.lang.Object
java.lang.Enum<DateUtil.DateParseState>
org.shetline.util.DateUtil.DateParseState
- All Implemented Interfaces:
- Serializable, Comparable<DateUtil.DateParseState>
- Enclosing class:
- DateUtil
protected static enum DateUtil.DateParseState
- extends Enum<DateUtil.DateParseState>
NEUTRAL
public static final DateUtil.DateParseState NEUTRAL
IN_YEAR
public static final DateUtil.DateParseState IN_YEAR
IN_MONTH
public static final DateUtil.DateParseState IN_MONTH
IN_DATE
public static final DateUtil.DateParseState IN_DATE
IN_DAY_OF_WEEK
public static final DateUtil.DateParseState IN_DAY_OF_WEEK
IN_ERA
public static final DateUtil.DateParseState IN_ERA
IN_DELIMITER
public static final DateUtil.DateParseState IN_DELIMITER
START_QUOTES
public static final DateUtil.DateParseState START_QUOTES
IN_QUOTES
public static final DateUtil.DateParseState IN_QUOTES
END_QUOTES
public static final DateUtil.DateParseState END_QUOTES
values
public static DateUtil.DateParseState[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (DateUtil.DateParseState c : DateUtil.DateParseState.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DateUtil.DateParseState valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null