public static class SUTime.CompositePartialTime extends SUTime.PartialTime
approx, mod, timeLabel, uncertaintyGranularity
CONTAINS_FIRST_ENDPOINTS_COMPARATOR, ENDPOINTS_COMPARATOR, LENGTH_ENDPOINTS_COMPARATOR, LENGTH_GT_COMPARATOR, LENGTH_LT_COMPARATOR, NESTED_FIRST_ENDPOINTS_COMPARATOR
Constructor and Description |
---|
CompositePartialTime(SUTime.PartialTime t,
org.joda.time.Partial p,
SUTime.Time poy,
SUTime.Time dow,
SUTime.Time tod) |
CompositePartialTime(SUTime.PartialTime t,
SUTime.Time poy,
SUTime.Time dow,
SUTime.Time tod) |
Modifier and Type | Method and Description |
---|---|
protected SUTime.PartialTime |
addSupported(org.joda.time.Period p,
int scalar) |
protected SUTime.PartialTime |
addUnsupported(org.joda.time.Period p,
int scalar) |
SUTime.Duration |
getDuration() |
org.joda.time.format.DateTimeFormatter |
getFormatter(int flags) |
org.joda.time.Instant |
getJodaTimeInstant() |
SUTime.Duration |
getPeriod() |
SUTime.Range |
getRange(int flags,
SUTime.Duration granularity) |
SUTime.TimexType |
getTimexType() |
SUTime.Time |
intersect(SUTime.Time t) |
SUTime.PartialTime |
reduceGranularityTo(SUTime.Duration granularity) |
SUTime.Time |
resolve(SUTime.Time ref,
int flags) |
add, appendDateFormats, appendTimeFormats, getCompatible, getJodaTimePartial, hasTime, isCompatible, isGrounded, padMoreSpecificFields, setTimeZone, toFormattedString, toList, withStandardFields
closest, compareTo, contains, difference, distance, getGranularity, getInterval, getTime, intersect, intersect, isComparable, makeComposite, max, min, offset, subtract
addMod, addModApprox, getMod, getRange, getRange, getStandardTemporalType, getTfid, getTfidString, getTid, getTidString, getTimeLabel, getTimexAttributes, getTimexValue, getUncertaintyGranularity, includeTimexAltValue, isApprox, isRef, next, prev, resolve, setTimeZone, setTimeZone, toISOString, toString
public CompositePartialTime(SUTime.PartialTime t, SUTime.Time poy, SUTime.Time dow, SUTime.Time tod)
public CompositePartialTime(SUTime.PartialTime t, org.joda.time.Partial p, SUTime.Time poy, SUTime.Time dow, SUTime.Time tod)
public org.joda.time.Instant getJodaTimeInstant()
getJodaTimeInstant
in class SUTime.PartialTime
public SUTime.Duration getDuration()
getDuration
in class SUTime.PartialTime
public SUTime.Duration getPeriod()
getPeriod
in class SUTime.PartialTime
public SUTime.Range getRange(int flags, SUTime.Duration granularity)
getRange
in class SUTime.PartialTime
public SUTime.Time intersect(SUTime.Time t)
intersect
in class SUTime.PartialTime
protected SUTime.PartialTime addSupported(org.joda.time.Period p, int scalar)
addSupported
in class SUTime.PartialTime
protected SUTime.PartialTime addUnsupported(org.joda.time.Period p, int scalar)
addUnsupported
in class SUTime.PartialTime
public SUTime.PartialTime reduceGranularityTo(SUTime.Duration granularity)
reduceGranularityTo
in class SUTime.PartialTime
public SUTime.Time resolve(SUTime.Time ref, int flags)
resolve
in class SUTime.PartialTime
public org.joda.time.format.DateTimeFormatter getFormatter(int flags)
getFormatter
in class SUTime.PartialTime
public SUTime.TimexType getTimexType()
getTimexType
in class SUTime.PartialTime