opendap.crawler
Enum DateClassification.DatePart
java.lang.Object
java.lang.Enum<DateClassification.DatePart>
opendap.crawler.DateClassification.DatePart
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<DateClassification.DatePart>
- Enclosing class:
- DateClassification
public static enum DateClassification.DatePart
- extends java.lang.Enum<DateClassification.DatePart>
Provide names for the kinds of dates an Equivalence can hold
- Author:
- jimg
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 |
none
public static final DateClassification.DatePart none
year
public static final DateClassification.DatePart year
year2
public static final DateClassification.DatePart year2
month
public static final DateClassification.DatePart month
month1
public static final DateClassification.DatePart month1
day
public static final DateClassification.DatePart day
daynum
public static final DateClassification.DatePart daynum
hours
public static final DateClassification.DatePart hours
minutes
public static final DateClassification.DatePart minutes
seconds
public static final DateClassification.DatePart seconds
values
public static DateClassification.DatePart[] 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 (DateClassification.DatePart c : DateClassification.DatePart.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DateClassification.DatePart valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null