AngleSharp by Florian Rappl

<PackageReference Include="AngleSharp" Version="0.8.7" />

 Time

Represents a time value.
public enum Unit

An enumeration of time units.

public static readonly Time Zero

Gets the zero time.

public Unit Type { get; }

Gets the type of the length.

public string UnitString { get; }

Gets the representation of the unit as a string.

public float Value { get; }

Gets the value of time in ms.

public Time(float value, Unit unit)

Creates a new time value.

public static float op_Explicit(Time time)

Converts the time to the number of milliseconds.

public int CompareTo(Time other)

Compares the current time against the given one.

public bool Equals(Time other)

Checks if the current time is equal to the other time.

public string ToString(string format, IFormatProvider formatProvider)

Returns a formatted string representing the time.