Package | Description |
---|---|
com.datastax.dse.driver.api.core.data.time |
Modifier and Type | Field and Description |
---|---|
static DateRangeBound |
DateRangeBound.UNBOUNDED
The unbounded
DateRangeBound instance. |
Modifier and Type | Method and Description |
---|---|
DateRangeBound |
DateRange.getLowerBound()
Returns the lower bound of this range (inclusive).
|
static DateRangeBound |
DateRangeBound.lowerBound(ZonedDateTime timestamp,
DateRangePrecision precision)
Creates a date range lower bound from the given date and precision.
|
static DateRangeBound |
DateRangeBound.parseLowerBound(String source)
Parses the given input as a lower date range bound.
|
static DateRangeBound |
DateRangeBound.parseUpperBound(String source)
Parses the given input as an upper date range bound.
|
static DateRangeBound |
DateRangeBound.upperBound(ZonedDateTime timestamp,
DateRangePrecision precision)
Creates a date range upper bound from the given date and precision.
|
Modifier and Type | Method and Description |
---|---|
Optional<DateRangeBound> |
DateRange.getUpperBound()
Returns the upper bound of this range (inclusive), or empty if the range is single-bounded.
|
Constructor and Description |
---|
DateRange(DateRangeBound singleBound)
Creates a "single bounded" instance, i.e., a date range whose upper and lower bounds are
identical.
|
DateRange(DateRangeBound lowerBound,
DateRangeBound upperBound)
Creates an instance composed of two distinct bounds.
|
Copyright © 2017–2024. All rights reserved.