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

7 lines
295 B
C#
Raw Normal View History

2023-02-16 12:57:06 +00:00
namespace InnovEnergy.Time.Unix;
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;
}