|
ProgramixGenericLib v5.0.1 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use DateTimeRange | |
|---|---|
| com.programix.time | Various containers and tools for dealing with dates and times (including parsing and formatting). |
| Uses of DateTimeRange in com.programix.time |
|---|
| Fields in com.programix.time declared as DateTimeRange | |
|---|---|
static DateTimeRange |
DateTimeRange.BOTH_OPEN
This DateTimeRange has both an undefined start and an undefined end. |
| Fields in com.programix.time with type parameters of type DateTimeRange | |
|---|---|
static Comparator<DateTimeRange> |
DateTimeRange.NEWEST_FIRST_COMPARATOR
Compares two ranges placing ranges that are considered "newest" or "most recent" first. |
static Comparator<DateTimeRange> |
DateTimeRange.OLDEST_FIRST_COMPARATOR
Compares two ranges placing ranges that are considered "oldest" first. |
| Methods in com.programix.time that return DateTimeRange | |
|---|---|
static DateTimeRange |
DateTimeRange.createLocal(String start,
String end)
Creates a new instance with the specified start and end times parsed using the local timezone. |
static DateTimeRange |
DateTimeRange.createUTC(String start,
String end)
Creates a new instance with the specified start and end times parsed using the UTC timezone. |
static DateTimeRange |
DateTimeRange.createWithOpenEnd(DateTime start)
Creates a new instance with an open end time and the specified start time. |
static DateTimeRange |
DateTimeRange.createWithOpenStart(DateTime end)
Creates a new instance with an open start and the specified end date. |
DateTimeRange |
DateTimeRange.setEnd(DateTime newEnd)
Returns a new instance with the specified newEnd date and this instance's start date. |
DateTimeRange |
DateTimeRange.setStart(DateTime newStart)
Returns a new instance with the specified start date and this instance's end time. |
| Methods in com.programix.time with parameters of type DateTimeRange | |
|---|---|
int |
DateTimeRange.compareTo(DateTimeRange otherRange)
Compares this instance to otherRange as defined by OLDEST_FIRST_COMPARATOR. |
boolean |
DateTimeRange.equals(DateTimeRange otherDateTime)
Returns true if this instance's start and end dates exactly match the start and end dates of the passed instance. |
|
ProgramixGenericLib v5.0.1 | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||