org.apache.pivot.util
Class CalendarDate.Range
java.lang.Object
org.apache.pivot.util.CalendarDate.Range
- Enclosing class:
- CalendarDate
public static final class CalendarDate.Range
- extends Object
Represents a range of calendar dates.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
START_KEY
public static final String START_KEY
- See Also:
- Constant Field Values
END_KEY
public static final String END_KEY
- See Also:
- Constant Field Values
start
public final CalendarDate start
end
public final CalendarDate end
CalendarDate.Range
public CalendarDate.Range(CalendarDate calendarDate)
CalendarDate.Range
public CalendarDate.Range(CalendarDate start,
CalendarDate end)
CalendarDate.Range
public CalendarDate.Range(String start,
String end)
CalendarDate.Range
public CalendarDate.Range(CalendarDate.Range range)
CalendarDate.Range
public CalendarDate.Range(Dictionary<String,?> range)
getLength
public int getLength()
contains
public boolean contains(CalendarDate.Range range)
contains
public boolean contains(CalendarDate calendarDate)
intersects
public boolean intersects(CalendarDate.Range range)
normalize
public CalendarDate.Range normalize()
decode
public static CalendarDate.Range decode(String value)