edu.stanford.nlp.time
Enum SUTime.TimexDocFunc

java.lang.Object
  extended by java.lang.Enum<SUTime.TimexDocFunc>
      extended by edu.stanford.nlp.time.SUTime.TimexDocFunc
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SUTime.TimexDocFunc>
Enclosing class:
SUTime

public static enum SUTime.TimexDocFunc
extends java.lang.Enum<SUTime.TimexDocFunc>


Enum Constant Summary
CREATION_TIME
           
EXPIRATION_TIME
           
MODIFICATION_TIME
           
NONE
           
PUBLICATION_TIME
           
RECEPTION_TIME
           
RELEASE_TIME
           
 
Method Summary
static SUTime.TimexDocFunc valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SUTime.TimexDocFunc[] 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

CREATION_TIME

public static final SUTime.TimexDocFunc CREATION_TIME

EXPIRATION_TIME

public static final SUTime.TimexDocFunc EXPIRATION_TIME

MODIFICATION_TIME

public static final SUTime.TimexDocFunc MODIFICATION_TIME

PUBLICATION_TIME

public static final SUTime.TimexDocFunc PUBLICATION_TIME

RELEASE_TIME

public static final SUTime.TimexDocFunc RELEASE_TIME

RECEPTION_TIME

public static final SUTime.TimexDocFunc RECEPTION_TIME

NONE

public static final SUTime.TimexDocFunc NONE
Method Detail

values

public static SUTime.TimexDocFunc[] 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.TimexDocFunc c : SUTime.TimexDocFunc.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.TimexDocFunc 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


Stanford NLP Group