8 lines
317 B
C#
8 lines
317 B
C#
namespace InnovEnergy.Lib.Time.Unix;
|
|
|
|
public readonly partial struct UnixTime
|
|
{
|
|
public override Boolean Equals(Object? obj) => obj is UnixTime other && Ticks == other.Ticks;
|
|
public override Int32 GetHashCode() => (Int32) (Ticks & 0x7F_FF_FF_FF);
|
|
public override String ToString() => Ticks.ToString();
|
|
} |