TimeWindow
Namespace: Meshmakers.Octo.Runtime.Contracts.StreamData
A half-open UTC time window [FromUtc, ToUtc) used to scope an archive-data export to a
slice of the archive instead of the whole table. TimeWindow.FromUtc is inclusive,
TimeWindow.ToUtc is exclusive. Both bounds are interpreted as UTC. The predicate rides on the
already time-ordered keyset scan in IStreamDataRepository.ExportRowsAsync(OctoObjectId, TimeWindow, CancellationToken), so a
windowed export is no more expensive than a full one. Archive data export/import concept (AB#4230) §3.1.
public record TimeWindow : IEquatable<TimeWindow>
Inheritance Object → TimeWindow
Implements IEquatable<TimeWindow>
Properties
FromUtc
public DateTime FromUtc { get; set; }
Property Value
ToUtc
public DateTime ToUtc { get; set; }
Property Value
Constructors
TimeWindow(DateTime, DateTime)
A half-open UTC time window [FromUtc, ToUtc) used to scope an archive-data export to a
slice of the archive instead of the whole table. TimeWindow.FromUtc is inclusive,
TimeWindow.ToUtc is exclusive. Both bounds are interpreted as UTC. The predicate rides on the
already time-ordered keyset scan in IStreamDataRepository.ExportRowsAsync(OctoObjectId, TimeWindow, CancellationToken), so a
windowed export is no more expensive than a full one. Archive data export/import concept (AB#4230) §3.1.
public TimeWindow(DateTime FromUtc, DateTime ToUtc)
Parameters
FromUtc DateTime
ToUtc DateTime