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

NUnit.Framework.Constraints.Interval

public sealed class Interval
Keeps track of an interval time which can be represented in Minutes, Seconds or Milliseconds
namespace NUnit.Framework.Constraints { public sealed class Interval { public TimeSpan AsTimeSpan { get; } public Interval InMinutes { get; } public Interval InSeconds { get; } public Interval InMilliseconds { get; } public bool IsNotZero { get; } public Interval(int value); } }