| Package | Description |
|---|---|
| org.threeten.extra |
| Modifier and Type | Field | Description |
|---|---|---|
static LocalDateRange |
LocalDateRange.ALL |
A range over the whole time-line.
|
| Modifier and Type | Method | Description |
|---|---|---|
LocalDateRange |
LocalDateRange.intersection(LocalDateRange other) |
Calculates the range that is the intersection of this range and the specified range.
|
static LocalDateRange |
LocalDateRange.of(java.time.LocalDate startInclusive,
java.time.LocalDate endExclusive) |
Obtains a half-open range of dates, including the start and excluding the end.
|
static LocalDateRange |
LocalDateRange.of(java.time.LocalDate startInclusive,
java.time.Period period) |
Obtains an instance of
LocalDateRange from the start and a period. |
static LocalDateRange |
LocalDateRange.ofClosed(java.time.LocalDate startInclusive,
java.time.LocalDate endInclusive) |
Obtains a closed range of dates, including the start and end.
|
static LocalDateRange |
LocalDateRange.parse(java.lang.CharSequence text) |
Obtains an instance of
LocalDateRange from a text string such as
2007-12-03/2007-12-04, where the end date is exclusive. |
LocalDateRange |
LocalDateRange.span(LocalDateRange other) |
Calculates the smallest range that encloses this range and the specified range.
|
LocalDateRange |
LocalDateRange.union(LocalDateRange other) |
Calculates the range that is the union of this range and the specified range.
|
LocalDateRange |
LocalDateRange.withEnd(java.time.temporal.TemporalAdjuster adjuster) |
Returns a copy of this range with the end date adjusted.
|
LocalDateRange |
LocalDateRange.withStart(java.time.temporal.TemporalAdjuster adjuster) |
Returns a copy of this range with the start date adjusted.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
LocalDateRange.abuts(LocalDateRange other) |
Checks if this range abuts the specified range.
|
boolean |
LocalDateRange.encloses(LocalDateRange other) |
Checks if this range encloses the specified range.
|
LocalDateRange |
LocalDateRange.intersection(LocalDateRange other) |
Calculates the range that is the intersection of this range and the specified range.
|
boolean |
LocalDateRange.isAfter(LocalDateRange other) |
Checks if this range is after the specified range.
|
boolean |
LocalDateRange.isBefore(LocalDateRange range) |
Checks if this range is before the specified range.
|
boolean |
LocalDateRange.isConnected(LocalDateRange other) |
Checks if this range is connected to the specified range.
|
boolean |
LocalDateRange.overlaps(LocalDateRange other) |
Checks if this range overlaps the specified range.
|
LocalDateRange |
LocalDateRange.span(LocalDateRange other) |
Calculates the smallest range that encloses this range and the specified range.
|
LocalDateRange |
LocalDateRange.union(LocalDateRange other) |
Calculates the range that is the union of this range and the specified range.
|
Copyright © 2010–2018 ThreeTen.org. All rights reserved.