Table of Contents

Class TimeQuery.Range

Namespace
EncDotNet.S100.Datasets.Pipelines.Time
Assembly
EncDotNet.S100.Datasets.Pipelines.dll

Closed time window [From, To]. For coverage samplers this returns every dataset time-step whose TimePoint falls within the window. For feature-validity filters this matches any feature whose validity interval overlaps the window.

public sealed record TimeQuery.Range : TimeQuery, IEquatable<TimeQuery>, IEquatable<TimeQuery.Range>
Inheritance
TimeQuery.Range
Implements
Inherited Members

Constructors

Range(DateTimeOffset, DateTimeOffset)

Closed time window [From, To]. For coverage samplers this returns every dataset time-step whose TimePoint falls within the window. For feature-validity filters this matches any feature whose validity interval overlaps the window.

public Range(DateTimeOffset From, DateTimeOffset To)

Parameters

From DateTimeOffset

Window start (inclusive), normalised to UTC.

To DateTimeOffset

Window end (inclusive), normalised to UTC; must be >= From.

Properties

Duration

Span of the window, always >= Zero.

public TimeSpan Duration { get; }

Property Value

TimeSpan

From

Window start (inclusive), normalised to UTC.

public DateTimeOffset From { get; init; }

Property Value

DateTimeOffset

To

Window end (inclusive), normalised to UTC; must be >= From.

public DateTimeOffset To { get; init; }

Property Value

DateTimeOffset