2023-09-14 12:20:30 +00:00
|
|
|
// namespace InnovEnergy.Lib.Time.Unix;
|
|
|
|
//
|
|
|
|
// public readonly partial struct UnixTime
|
|
|
|
// {
|
|
|
|
// public DateTime ToUtcDateTime() => DateTime.UnixEpoch + TimeSpan.FromSeconds(Ticks);
|
|
|
|
//
|
|
|
|
// public static implicit operator DateTime(UnixTime unixTimeSpan) => unixTimeSpan.ToUtcDateTime();
|
|
|
|
// public static implicit operator UnixTime(DateTime dateTime) => FromUtcDateTime(dateTime);
|
|
|
|
// }
|