Struct HlcTimestampRange
- Namespace
- DotCompute.Abstractions.Health
- Assembly
- DotCompute.Abstractions.dll
HLC timestamp range for analysis windows.
[SuppressMessage("Design", "CA1815:Override equals and operator equals on value types", Justification = "Data carrier struct, equality not required")]
public readonly struct HlcTimestampRange
- Inherited Members
Properties
Duration
Gets the duration of this time range.
public TimeSpan Duration { get; }
Property Value
End
Gets the end of the time range (inclusive).
public required HlcTimestamp End { get; init; }
Property Value
Start
Gets the start of the time range (inclusive).
public required HlcTimestamp Start { get; init; }
Property Value
Methods
Contains(HlcTimestamp)
Checks if a timestamp falls within this range.
public bool Contains(HlcTimestamp timestamp)
Parameters
timestampHlcTimestamp