edu.stanford.nlp.time
Class SUTime.GroundedTime
java.lang.Object
edu.stanford.nlp.time.SUTime.Temporal
edu.stanford.nlp.time.SUTime.Time
edu.stanford.nlp.time.SUTime.GroundedTime
- 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.GroundedTime
- extends SUTime.Time
| Methods inherited from class edu.stanford.nlp.time.SUTime.Time |
closest, compareTo, contains, difference, distance, getGranularity, getInterval, getTime, getTimexType, intersect, isComparable, 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.GroundedTime
public SUTime.GroundedTime(SUTime.Time p,
org.joda.time.ReadableInstant base)
SUTime.GroundedTime
public SUTime.GroundedTime(org.joda.time.ReadableInstant base)
setTimeZone
public SUTime.GroundedTime setTimeZone(org.joda.time.DateTimeZone tz)
- Overrides:
setTimeZone in class SUTime.Temporal
hasTime
public boolean hasTime()
- Overrides:
hasTime in class SUTime.Time
isGrounded
public boolean isGrounded()
- Overrides:
isGrounded in class SUTime.Time
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
toFormattedString
public java.lang.String toFormattedString(int flags)
- Overrides:
toFormattedString in class SUTime.Temporal
resolve
public SUTime.Time resolve(SUTime.Time refTime,
int flags)
- Overrides:
resolve 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
intersect
public SUTime.Temporal intersect(SUTime.Temporal other)
- Overrides:
intersect in class SUTime.Time
getJodaTimeInstant
public org.joda.time.Instant getJodaTimeInstant()
- Overrides:
getJodaTimeInstant in class SUTime.Time
getJodaTimePartial
public org.joda.time.Partial getJodaTimePartial()
- Overrides:
getJodaTimePartial in class SUTime.Time
Stanford NLP Group