
DateHistogramInterval
- Namespace
- Rowles.LeanCorpus.Search.Scoring
- Assembly
- Rowles.LeanCorpus.dll
Defines either a fixed elapsed duration or a UTC calendar interval for date histograms.
public sealed class DateHistogramInterval
- Inheritance
-
DateHistogramInterval
CalendarInterval
Gets the UTC calendar interval, when this is a calendar interval.
FixedInterval
Gets the fixed elapsed interval, when this is a fixed interval.
Hour
Gets a fixed one-hour interval.
IsCalendar
Gets whether this interval uses calendar arithmetic.
Minute
Gets a fixed one-minute interval.
Calendar(DateHistogramCalendarInterval)
Creates a UTC calendar interval.
Fixed(TimeSpan)
Creates a fixed elapsed interval with millisecond precision.