DotNext by Roman Sakno

<PackageReference Include="DotNext" Version="2.9.5" />

 Timestamp

Represents timestamp.
public static Timestamp Current { get; }

Gets current point in time.

public TimeSpan Elapsed { get; }

Gets precise difference between the current point in time and this timestamp.

public TimeSpan Value { get; }

Gets TimeSpan representing this timestamp.

public static bool op_Equality(Timestamp first, Timestamp second)

Determines whether the two timestamps are equal.

public static bool op_GreaterThan(Timestamp first, Timestamp second)

Determines whether the first timestamp is greater than the second.

public static bool op_GreaterThanOrEqual(Timestamp first, Timestamp second)

Determines whether the first timestamp is greater than or equal to the second.

public static TimeSpan op_Implicit(Timestamp stamp)

Gets TimeSpan representing the given timestamp.

public static bool op_Inequality(Timestamp first, Timestamp second)

Determines whether the two timestamps are equal.

public static bool op_LessThan(Timestamp first, Timestamp second)

Determines whether the first timestamp is less than the second.

public static bool op_LessThanOrEqual(Timestamp first, Timestamp second)

Determines whether the first timestamp is less than or equal to the second.

public int CompareTo(Timestamp other)

Compares this timestamp with the given value.

public bool Equals(Timestamp other)

Determines whether the current timestamp equals to the specified timestamp.