Exemple #1
0
 public static DateTime FromUnix(this int secondsSinceEpoch)
 {
     return(Epoch.FromUnix(secondsSinceEpoch));
 }
Exemple #2
0
 public static DateTimeOffset FromUnix(this int secondsSinceEpoch, int timeZoneOffsetInMinutes)
 {
     return(Epoch.FromUnix(secondsSinceEpoch, timeZoneOffsetInMinutes));
 }
Exemple #3
0
 public static int ToUnix(this DateTime dateTime)
 {
     return(Epoch.ToUnix(dateTime));
 }