<PackageReference Include="NUnit" Version="4.3.2" />

Interval

public sealed class Interval
Keeps track of an interval time which can be represented in Minutes, Seconds or Milliseconds
public TimeSpan AsTimeSpan { get; }

Gets Interval value represented as a TimeSpan object

public Interval InMilliseconds { get; }

Returns the interval with the current value as a number of milliseconds.

public Interval InMinutes { get; }

Returns the interval with the current value as a number of minutes.

public Interval InSeconds { get; }

Returns the interval with the current value as a number of seconds.

public bool IsNotZero { get; }

Is true for intervals created with a non-zero value

public Interval(int value)

Constructs a interval given an value in milliseconds