Метод | Описание | |
---|---|---|
ToDateTimeFromEpoch ( this epochTime ) : System.DateTime |
Convert a numeric epoch time to a .Net DateTime
|
|
ToDateTimeFromEpoch ( this epochTime ) : DateTime? |
Convert a numeric epoch time to a .Net DateTime catering for nulls
|
|
ToEpochFromDateTime ( this dateTime ) : double |
Convert a .Net DateTime to an epoch time
|
|
ToEpochFromDateTime ( this dateTime ) : double? |
Convert a .Net DateTime or null to an epoch time
|
public static ToDateTimeFromEpoch ( this epochTime ) : System.DateTime | ||
epochTime | this | the count of seconds since 1970 |
Результат | System.DateTime |
public static ToDateTimeFromEpoch ( this epochTime ) : DateTime? | ||
epochTime | this | the count of seconds since 1970 |
Результат | DateTime? |
public static ToEpochFromDateTime ( this dateTime ) : double | ||
dateTime | this | the datetime value |
Результат | double |
public static ToEpochFromDateTime ( this dateTime ) : double? | ||
dateTime | this | the datetime value |
Результат | double? |