edu.stanford.nlp.time
Class SUTime.CompositePartialTime
java.lang.Object
edu.stanford.nlp.time.SUTime.Temporal
edu.stanford.nlp.time.SUTime.Time
edu.stanford.nlp.time.SUTime.PartialTime
edu.stanford.nlp.time.SUTime.CompositePartialTime
- 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.CompositePartialTime
- extends SUTime.PartialTime
| Methods inherited from class edu.stanford.nlp.time.SUTime.PartialTime |
add, appendDateFormats, appendTimeFormats, getJodaTimePartial, hasTime, isCompatible, isGrounded, padMoreSpecificFields, setTimeZone, toFormattedString, toList, withStandardFields |
| Methods inherited from class edu.stanford.nlp.time.SUTime.Time |
closest, compareTo, contains, difference, distance, getGranularity, getInterval, getTime, intersect, intersect, isComparable, makeComposite, max, min, offset, subtract |
| Methods inherited from class edu.stanford.nlp.time.SUTime.Temporal |
addMod, addModApprox, getMod, 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.CompositePartialTime
public SUTime.CompositePartialTime(SUTime.PartialTime t,
SUTime.Time poy,
SUTime.Time dow,
SUTime.Time tod)
SUTime.CompositePartialTime
public SUTime.CompositePartialTime(SUTime.PartialTime t,
org.joda.time.Partial p,
SUTime.Time poy,
SUTime.Time dow,
SUTime.Time tod)
getJodaTimeInstant
public org.joda.time.Instant getJodaTimeInstant()
- Overrides:
getJodaTimeInstant in class SUTime.PartialTime
getDuration
public SUTime.Duration getDuration()
- Overrides:
getDuration in class SUTime.PartialTime
getPeriod
public SUTime.Duration getPeriod()
- Overrides:
getPeriod in class SUTime.PartialTime
getRange
public SUTime.Range getRange(int flags,
SUTime.Duration granularity)
- Overrides:
getRange in class SUTime.PartialTime
intersect
public SUTime.Time intersect(SUTime.Time t)
- Overrides:
intersect in class SUTime.PartialTime
addSupported
protected SUTime.PartialTime addSupported(org.joda.time.Period p,
int scalar)
- Overrides:
addSupported in class SUTime.PartialTime
addUnsupported
protected SUTime.PartialTime addUnsupported(org.joda.time.Period p,
int scalar)
- Overrides:
addUnsupported in class SUTime.PartialTime
resolve
public SUTime.Time resolve(SUTime.Time ref,
int flags)
- Overrides:
resolve in class SUTime.PartialTime
getFormatter
public org.joda.time.format.DateTimeFormatter getFormatter(int flags)
- Overrides:
getFormatter in class SUTime.PartialTime
getTimexType
public SUTime.TimexType getTimexType()
- Overrides:
getTimexType in class SUTime.Time
Stanford NLP Group