Section navigation

Public classSealed 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

Public property CalendarInterval

Gets the UTC calendar interval, when this is a calendar interval.

Public property FixedInterval

Gets the fixed elapsed interval, when this is a fixed interval.

Public property Hour

Gets a fixed one-hour interval.

Public property IsCalendar

Gets whether this interval uses calendar arithmetic.

Public property Minute

Gets a fixed one-minute interval.

Public method Calendar(DateHistogramCalendarInterval)

Creates a UTC calendar interval.

Public method Fixed(TimeSpan)

Creates a fixed elapsed interval with millisecond precision.