Class CoverageTimeWindow
A range or series time query for SampleWindow<TSource>(IReadOnlyList<CoverageSamplerEntry<TSource>>, CoverageSampleQuery, CoverageTimeWindow).
public sealed record CoverageTimeWindow : IEquatable<CoverageTimeWindow>
- Inheritance
-
CoverageTimeWindow
- Implements
- Inherited Members
Constructors
CoverageTimeWindow(DateTimeOffset, DateTimeOffset, IEnumerable<DateTimeOffset>?)
A range or series time query for SampleWindow<TSource>(IReadOnlyList<CoverageSamplerEntry<TSource>>, CoverageSampleQuery, CoverageTimeWindow).
public CoverageTimeWindow(DateTimeOffset From, DateTimeOffset To, IEnumerable<DateTimeOffset>? Instants = null)
Parameters
FromDateTimeOffsetInclusive start of the window.
ToDateTimeOffsetInclusive end of the window.
InstantsIEnumerable<DateTimeOffset>The instants of a series query, each snapped to the nearest step of the chosen dataset;
nullfor a range query, which takes every step within the window. Enumerated once per candidate site, so it may be deferred.
Properties
From
Inclusive start of the window.
public DateTimeOffset From { get; init; }
Property Value
Instants
The instants of a series query, each snapped to the nearest step of the
chosen dataset; null for a range query, which takes every step
within the window. Enumerated once per candidate site, so it may be
deferred.
public IEnumerable<DateTimeOffset>? Instants { get; init; }
Property Value
To
Inclusive end of the window.
public DateTimeOffset To { get; init; }