Namespace Cassandra.DataStax.Search
Structs
DateRange
Represents a range of dates, corresponding to the Apache Solr type
DateRangeField
.
A date range can have one or two bounds, namely lower bound and upper bound, to represent an interval of time. Date range bounds are both inclusive. For example:
[2015 TO 2016-10]
represents from the first day of 2015 to the last day of October 20162015
represents during the course of the year 2015.[2017 TO *]
represents any date greater or equals to the first day of the year 2017.
Note that this representation of DateRangeField
does not support Dates outside of the range
supported by DateTimeOffset
: from 1/1/0001 12:00:00 AM +00:00
to 12/31/9999 11:59:59 PM +00:00
.
DateRangeBound
Represents a date range boundary, composed by a Date
and a precision.
Enums
DateRangePrecision
Defines the possible values of date range precision.