edu.stanford.nlp.time
Class SUTime.SimpleTime

java.lang.Object
  extended by edu.stanford.nlp.time.SUTime.Temporal
      extended by edu.stanford.nlp.time.SUTime.Time
          extended by edu.stanford.nlp.time.SUTime.SimpleTime
All Implemented Interfaces:
FuzzyInterval.FuzzyComparable<SUTime.Time>, HasInterval<SUTime.Time>, java.lang.Cloneable, java.lang.Comparable<SUTime.Time>
Enclosing class:
SUTime

public static class SUTime.SimpleTime
extends SUTime.Time

Simple time (vague time that we don't really know what to do with)


Field Summary
 
Fields inherited from class edu.stanford.nlp.time.SUTime.Temporal
approx, mod, timeLabel
 
Fields inherited from interface edu.stanford.nlp.util.HasInterval
CONTAINS_FIRST_COMPARATOR, CONTAINS_FIRST_ENDPOINTS_COMPARATOR, ENDPOINTS_COMPARATOR, LENGTH_COMPARATOR, NESTED_FIRST_COMPARATOR, NESTED_FIRST_ENDPOINTS_COMPARATOR
 
Constructor Summary
SUTime.SimpleTime(java.lang.String label)
           
 
Method Summary
 SUTime.Time add(SUTime.Duration offset)
           
 java.lang.String toFormattedString(int flags)
           
 
Methods inherited from class edu.stanford.nlp.time.SUTime.Time
closest, compareTo, contains, difference, distance, getDuration, getGranularity, getInterval, getJodaTimeInstant, getJodaTimePartial, getRange, getTime, getTimexType, hasTime, intersect, intersect, intersect, isComparable, isGrounded, makeComposite, max, min, offset, resolve, subtract
 
Methods inherited from class edu.stanford.nlp.time.SUTime.Temporal
addMod, addModApprox, getMod, getPeriod, getRange, getRange, getStandardTemporalType, getTfid, getTfidString, getTid, getTidString, getTimeLabel, getTimexAttributes, getTimexValue, includeTimexAltValue, isApprox, isRef, next, prev, resolve, setTimeZone, setTimeZone, toISOString, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SUTime.SimpleTime

public SUTime.SimpleTime(java.lang.String label)
Method Detail

toFormattedString

public java.lang.String toFormattedString(int flags)
Overrides:
toFormattedString in class SUTime.Temporal

add

public SUTime.Time add(SUTime.Duration offset)
Specified by:
add in class SUTime.Time


Stanford NLP Group