Innovenergy_trunk/csharp/Lib/Time/Unix/UnixTime.Compare.cs

7 lines
299 B
C#
Raw Normal View History

namespace InnovEnergy.Lib.Time.Unix;
2023-02-16 12:57:06 +00:00
public readonly partial struct UnixTime : IComparable<UnixTime>, IEquatable<UnixTime>
{
Int32 IComparable<UnixTime>.CompareTo(UnixTime other) => Ticks.CompareTo(other.Ticks);
Boolean IEquatable<UnixTime>.Equals(UnixTime other) => Ticks == other.Ticks;
}