edu.stanford.nlp.time
Class SUTime.DurationWithMillis
java.lang.Object
edu.stanford.nlp.time.SUTime.Temporal
edu.stanford.nlp.time.SUTime.Duration
edu.stanford.nlp.time.SUTime.DurationWithMillis
- All Implemented Interfaces:
- FuzzyInterval.FuzzyComparable<SUTime.Duration>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<SUTime.Duration>
- Enclosing class:
- SUTime
public static class SUTime.DurationWithMillis
- extends SUTime.Duration
Duration specified in terms of milliseconds
- See Also:
- Serialized Form
| Methods inherited from class edu.stanford.nlp.time.SUTime.Duration |
compareTo, getDateTimeFields, getDuration, getDuration, getDuration, getInexactDuration, getInexactDuration, getPeriod, getRange, getTime, getTimexType, intersect, intersect, isComparable, isGrounded, makeInexact, max, min, resolve, subtract, toFormattedString, toTime, toTime |
| Methods inherited from class edu.stanford.nlp.time.SUTime.Temporal |
addMod, addModApprox, getGranularity, getMod, getRange, getRange, getStandardTemporalType, getTfid, getTfidString, getTid, getTidString, getTimeLabel, getTimexAttributes, getTimexValue, includeTimexAltValue, isApprox, isRef, next, prev, resolve, setTimeZone, setTimeZone, toISOString, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SUTime.DurationWithMillis
public SUTime.DurationWithMillis(long ms)
SUTime.DurationWithMillis
public SUTime.DurationWithMillis(org.joda.time.ReadableDuration base)
SUTime.DurationWithMillis
public SUTime.DurationWithMillis(SUTime.Duration d,
org.joda.time.ReadableDuration base)
multiplyBy
public SUTime.Duration multiplyBy(int m)
- Specified by:
multiplyBy in class SUTime.Duration
divideBy
public SUTime.Duration divideBy(int m)
- Specified by:
divideBy in class SUTime.Duration
getJodaTimePeriod
public org.joda.time.Period getJodaTimePeriod()
- Specified by:
getJodaTimePeriod in class SUTime.Duration
getJodaTimeDuration
public org.joda.time.Duration getJodaTimeDuration()
- Specified by:
getJodaTimeDuration in class SUTime.Duration
add
public SUTime.Duration add(SUTime.Duration d)
- Specified by:
add in class SUTime.Duration
Stanford NLP Group