edu.stanford.nlp.time
Enum SUTime.TimexMod
java.lang.Object
java.lang.Enum<SUTime.TimexMod>
edu.stanford.nlp.time.SUTime.TimexMod
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<SUTime.TimexMod>
- Enclosing class:
- SUTime
public static enum SUTime.TimexMod
- extends java.lang.Enum<SUTime.TimexMod>
|
Method Summary |
java.lang.String |
getSymbol()
|
static SUTime.TimexMod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SUTime.TimexMod[] |
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 |
BEFORE
public static final SUTime.TimexMod BEFORE
AFTER
public static final SUTime.TimexMod AFTER
ON_OR_BEFORE
public static final SUTime.TimexMod ON_OR_BEFORE
ON_OR_AFTER
public static final SUTime.TimexMod ON_OR_AFTER
LESS_THAN
public static final SUTime.TimexMod LESS_THAN
MORE_THAN
public static final SUTime.TimexMod MORE_THAN
EQUAL_OR_LESS
public static final SUTime.TimexMod EQUAL_OR_LESS
EQUAL_OR_MORE
public static final SUTime.TimexMod EQUAL_OR_MORE
START
public static final SUTime.TimexMod START
MID
public static final SUTime.TimexMod MID
END
public static final SUTime.TimexMod END
APPROX
public static final SUTime.TimexMod APPROX
EARLY
public static final SUTime.TimexMod EARLY
LATE
public static final SUTime.TimexMod LATE
values
public static SUTime.TimexMod[] 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 (SUTime.TimexMod c : SUTime.TimexMod.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static SUTime.TimexMod 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
getSymbol
public java.lang.String getSymbol()
Stanford NLP Group