public static class SUTime.DurationWithMillis extends SUTime.Duration
approx, mod, timeLabel, uncertaintyGranularity
Constructor and Description |
---|
DurationWithMillis(long ms) |
DurationWithMillis(org.joda.time.ReadableDuration base) |
DurationWithMillis(SUTime.Duration d,
org.joda.time.ReadableDuration base) |
Modifier and Type | Method and Description |
---|---|
SUTime.Duration |
add(SUTime.Duration d) |
SUTime.Duration |
divideBy(int m) |
org.joda.time.Duration |
getJodaTimeDuration() |
org.joda.time.Period |
getJodaTimePeriod() |
SUTime.Duration |
multiplyBy(int m) |
compareTo, getDateTimeFields, getDuration, getDuration, getDuration, getInexactDuration, getInexactDuration, getPeriod, getRange, getTime, getTimexType, intersect, intersect, isComparable, isGrounded, makeInexact, max, min, resolve, subtract, toFormattedString, toTime, toTime
addMod, addModApprox, getGranularity, getMod, getRange, getRange, getStandardTemporalType, getTfid, getTfidString, getTid, getTidString, getTimeLabel, getTimexAttributes, getTimexValue, getUncertaintyGranularity, includeTimexAltValue, isApprox, isRef, next, prev, resolve, setTimeZone, setTimeZone, setTimeZone, toISOString, toString
public DurationWithMillis(long ms)
public DurationWithMillis(org.joda.time.ReadableDuration base)
public DurationWithMillis(SUTime.Duration d, org.joda.time.ReadableDuration base)
public SUTime.Duration multiplyBy(int m)
multiplyBy
in class SUTime.Duration
public SUTime.Duration divideBy(int m)
divideBy
in class SUTime.Duration
public org.joda.time.Period getJodaTimePeriod()
getJodaTimePeriod
in class SUTime.Duration
public org.joda.time.Duration getJodaTimeDuration()
getJodaTimeDuration
in class SUTime.Duration
public SUTime.Duration add(SUTime.Duration d)
add
in class SUTime.Duration