edu.stanford.nlp.time
Class SUTime.TimeWithRange
java.lang.Object
edu.stanford.nlp.time.SUTime.Temporal
edu.stanford.nlp.time.SUTime.Time
edu.stanford.nlp.time.SUTime.TimeWithRange
- 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.TimeWithRange
- extends SUTime.Time
| Methods inherited from class edu.stanford.nlp.time.SUTime.Time |
closest, compareTo, contains, difference, distance, getGranularity, getInterval, getJodaTimeInstant, getJodaTimePartial, getTime, getTimexType, hasTime, intersect, intersect, isComparable, isGrounded, makeComposite, max, min, offset, 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, toISOString, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SUTime.TimeWithRange
public SUTime.TimeWithRange(SUTime.TimeWithRange t,
SUTime.Range range)
SUTime.TimeWithRange
public SUTime.TimeWithRange(SUTime.Range range)
setTimeZone
public SUTime.TimeWithRange setTimeZone(org.joda.time.DateTimeZone tz)
- Overrides:
setTimeZone in class SUTime.Temporal
getDuration
public SUTime.Duration getDuration()
- Overrides:
getDuration in class SUTime.Time
getRange
public SUTime.Range getRange(int flags,
SUTime.Duration granularity)
- Overrides:
getRange in class SUTime.Time
add
public SUTime.Time add(SUTime.Duration offset)
- Specified by:
add in class SUTime.Time
intersect
public SUTime.Time intersect(SUTime.Time t)
- Overrides:
intersect in class SUTime.Time
resolve
public SUTime.Time resolve(SUTime.Time refTime,
int flags)
- Overrides:
resolve in class SUTime.Time
toFormattedString
public java.lang.String toFormattedString(int flags)
- Overrides:
toFormattedString in class SUTime.Temporal
Stanford NLP Group