Sky View Café - Java

org.shetline.util
Enum DateUtil.DateParseState

java.lang.Object
  extended by java.lang.Enum<DateUtil.DateParseState>
      extended by org.shetline.util.DateUtil.DateParseState
All Implemented Interfaces:
Serializable, Comparable<DateUtil.DateParseState>
Enclosing class:
DateUtil

protected static enum DateUtil.DateParseState
extends Enum<DateUtil.DateParseState>


Enum Constant Summary
END_QUOTES
           
IN_DATE
           
IN_DAY_OF_WEEK
           
IN_DELIMITER
           
IN_ERA
           
IN_MONTH
           
IN_QUOTES
           
IN_YEAR
           
NEUTRAL
           
START_QUOTES
           
 
Method Summary
static DateUtil.DateParseState valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DateUtil.DateParseState[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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

Sky View Café - Java