public static DateTime SecToDateTime(this long sec) { return(TimeExtension.BaseTime.AddTicks(TimeExtension.SecToDateTimeTick(sec))); }
public static DateTime UsToDateTime(this long us) { return(TimeExtension.BaseTime.AddTicks(TimeExtension.UsToDateTimeTick(us))); }
public static DateTime MsToDateTime(this long ms) { return(TimeExtension.BaseTime.AddTicks(TimeExtension.MsToDateTimeTick(ms))); }
public static long DateTimeToUnixTimeUs(this DateTime thiz) { return(TimeExtension.DateTimeTickToUs((thiz - TimeExtension.BaseTime).Ticks)); }