Skip to content
Documentation

IIntervalFactory Interface

Used for creating intervals (relative durations).

public interface IIntervalFactory

IIntervalFactory.Create(IntervalType, int) Method

Section titled “IIntervalFactory.Create(IntervalType, int) Method”

Creates an interval with the given multiplier and type.

HAKOM.TSM.Net.Api.Time.Intervals.IInterval Create(HAKOM.TSM.Net.Api.Time.Intervals.IntervalType type, int multiplier=1);

type IntervalType

The IntervalType (hour, minute, etc.).

multiplier System.Int32

The amount of base type durations constituting the duration of the interval.

IInterval
A new IInterval.

IIntervalFactory.TryCreate(IntervalType, int) Method

Section titled “IIntervalFactory.TryCreate(IntervalType, int) Method”

Attempts to create an interval with the given multiplier and type.

HAKOM.ErrorHandling.Core.Net.Api.Result<HAKOM.TSM.Net.Api.Time.Intervals.IInterval> TryCreate(HAKOM.TSM.Net.Api.Time.Intervals.IntervalType type, int multiplier=1);

type IntervalType

The IntervalType (hour, minute, etc.).

multiplier System.Int32

The amount of base type durations constituting the duration of the interval.

HAKOM.ErrorHandling.Core.Net.Api.Result<IInterval>
A Result<TValue> that contains either the new IInterval or an error that describes why it could not be created.

© 2026 Volue.Version v0.6.38017 November 2026