C# Класс BridgeStack.UnixDateTimeHelpers

Date Time helpers to assist in JSON deserialization.
Показать файл Открыть проект

Открытые методы

Метод Описание
AsUnixDate ( this self ) : System.DateTime

Parses a long representation of an Unix Date into a DateTime.

ToUnixDate ( this self ) : long

Parses a DateTime into it's long representation in Unix Date format.

Описание методов

AsUnixDate() публичный статический Метод

Parses a long representation of an Unix Date into a DateTime.
public static AsUnixDate ( this self ) : System.DateTime
self this The long representation of an Unix Date.
Результат System.DateTime

ToUnixDate() публичный статический Метод

Parses a DateTime into it's long representation in Unix Date format.
public static ToUnixDate ( this self ) : long
self this The DateTime object to parse.
Результат long