Section navigation

Public classSealed DateRange

Namespace
Rowles.LeanCorpus.Search.Scoring
Assembly
Rowles.LeanCorpus.dll

Defines one UTC Unix-millisecond date facet range.

public sealed class DateRange
Inheritance
DateRange

Public constructor DateRange(string, DateTimeOffset?, DateTimeOffset?, bool, bool)

Initialises a date range from absolute instants.

Public property IncludeLower

Gets whether the lower instant is included.

Public property IncludeUpper

Gets whether the upper instant is included.

Public property Label

Gets the bucket label.

Public property LowerBound

Gets the optional lower instant.

Public property UpperBound

Gets the optional upper instant.