Skip to content
Documentation

IInterval Interface

Represents a relative time duration (hour, 15 minutes, 2 years, etc.).

public interface IInterval : System.IEquatable<HAKOM.TSM.Net.Api.Time.Intervals.IInterval>

Implements System.IEquatable<IInterval>

Gets how many of the base types durations constitute the duration of the entire interval. i.e. 15 with interval type minute represents a 15 minute interval.

int Multiplier { get; }

System.Int32

Gets the base type of the interval (hour, minute, year, etc.).

HAKOM.TSM.Net.Api.Time.Intervals.IntervalType Type { get; }

IntervalType

Tries to get the interval length in milliseconds. If Type is greater than an hour, it will return false, since other interval types have variable lengths, because of daylight saving time and leap years.

bool TryGetMilliseconds(out long milliseconds);

milliseconds System.Int64

The interval length in milliseconds.

System.Boolean
True if the Type has a fixed length, false otherwise.

© 2026 Volue.Version v0.6.38017 November 2026