fix bug in UnixTimeSpanExtensions.cs
This commit is contained in:
parent
bfb1670d11
commit
970ae10799
|
@ -9,8 +9,8 @@ public static class UnixTimeSpanExtensions
|
||||||
public static UnixTimeSpan Weeks (this Int32 w) => UnixTimeSpan.FromWeeks (w);
|
public static UnixTimeSpan Weeks (this Int32 w) => UnixTimeSpan.FromWeeks (w);
|
||||||
|
|
||||||
public static UnixTimeSpan Seconds(this UInt32 s) => UnixTimeSpan.FromSeconds(s);
|
public static UnixTimeSpan Seconds(this UInt32 s) => UnixTimeSpan.FromSeconds(s);
|
||||||
public static UnixTimeSpan Minutes(this UInt32 m) => UnixTimeSpan.FromSeconds(m);
|
public static UnixTimeSpan Minutes(this UInt32 m) => UnixTimeSpan.FromMinutes(m);
|
||||||
public static UnixTimeSpan Hours (this UInt32 h) => UnixTimeSpan.FromMinutes(h);
|
public static UnixTimeSpan Hours (this UInt32 h) => UnixTimeSpan.FromHours (h);
|
||||||
public static UnixTimeSpan Days (this UInt32 d) => UnixTimeSpan.FromHours (d);
|
public static UnixTimeSpan Days (this UInt32 d) => UnixTimeSpan.FromDays (d);
|
||||||
public static UnixTimeSpan Weeks (this UInt32 w) => UnixTimeSpan.FromDays (w);
|
public static UnixTimeSpan Weeks (this UInt32 w) => UnixTimeSpan.FromWeeks (w);
|
||||||
}
|
}
|
Loading…
Reference in New Issue