@Immutable public class TimeCoordIntvDateValue extends java.lang.Object implements java.lang.Comparable<TimeCoordIntvDateValue>
Constructor and Description |
---|
TimeCoordIntvDateValue(CalendarDate start,
CalendarDate end) |
TimeCoordIntvDateValue(CalendarDate start,
CalendarPeriod period) |
TimeCoordIntvDateValue(CalendarPeriod period,
CalendarDate end) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(TimeCoordIntvDateValue that) |
TimeCoordIntvValue |
convertReferenceDate(CalendarDate refDate,
CalendarPeriod timeUnit) |
boolean |
equals(java.lang.Object o) |
CalendarDate |
getEnd() |
CalendarDate |
getStart() |
int |
hashCode() |
java.lang.String |
toString() |
public TimeCoordIntvDateValue(CalendarPeriod period, CalendarDate end)
public TimeCoordIntvDateValue(CalendarDate start, CalendarPeriod period)
public TimeCoordIntvDateValue(CalendarDate start, CalendarDate end)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CalendarDate getStart()
public CalendarDate getEnd()
public TimeCoordIntvValue convertReferenceDate(CalendarDate refDate, CalendarPeriod timeUnit)
public int compareTo(@Nonnull TimeCoordIntvDateValue that)
compareTo
in interface java.lang.Comparable<TimeCoordIntvDateValue>
public java.lang.String toString()
toString
in class java.lang.Object