7 lines
327 B
C#
7 lines
327 B
C#
namespace InnovEnergy.Lib.Time.Unix;
|
|
|
|
public readonly partial struct UnixTimeSpan : IComparable<UnixTimeSpan>, IEquatable<UnixTimeSpan>
|
|
{
|
|
Int32 IComparable<UnixTimeSpan>.CompareTo(UnixTimeSpan other) => Ticks.CompareTo(other.Ticks);
|
|
Boolean IEquatable<UnixTimeSpan>.Equals(UnixTimeSpan other) => Ticks == other.Ticks;
|
|
} |