edu.stanford.nlp.time
Class JollyDayHolidays.JollyHoliday
java.lang.Object
edu.stanford.nlp.time.SUTime.Temporal
edu.stanford.nlp.time.SUTime.Time
edu.stanford.nlp.time.JollyDayHolidays.JollyHoliday
- All Implemented Interfaces:
- FuzzyInterval.FuzzyComparable<SUTime.Time>, HasInterval<SUTime.Time>, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<SUTime.Time>
- Enclosing class:
- JollyDayHolidays
public static class JollyDayHolidays.JollyHoliday
- extends SUTime.Time
- See Also:
- Serialized Form
| Methods inherited from class edu.stanford.nlp.time.SUTime.Time |
closest, compareTo, contains, difference, distance, getGranularity, getInterval, getJodaTimeInstant, getJodaTimePartial, getTimexType, hasTime, intersect, 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, setTimeZone, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JollyDayHolidays.JollyHoliday
public JollyDayHolidays.JollyHoliday(java.lang.String label,
de.jollyday.HolidayManager holidayManager,
de.jollyday.config.Holiday base)
JollyDayHolidays.JollyHoliday
public JollyDayHolidays.JollyHoliday()
toFormattedString
public java.lang.String toFormattedString(int flags)
- Overrides:
toFormattedString in class SUTime.Temporal
isGrounded
public boolean isGrounded()
- Overrides:
isGrounded in class SUTime.Time
getTime
public SUTime.Time getTime()
- Overrides:
getTime 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
toISOString
public java.lang.String toISOString()
- Overrides:
toISOString in class SUTime.Temporal
intersect
public SUTime.Time intersect(SUTime.Time t)
- Overrides:
intersect in class SUTime.Time
resolve
public SUTime.Time resolve(SUTime.Time t,
int flags)
- Overrides:
resolve in class SUTime.Time
add
public SUTime.Time add(SUTime.Duration offset)
- Specified by:
add in class SUTime.Time
Stanford NLP Group