C# Class BridgeStack.UnixDateTimeHelpers

Date Time helpers to assist in JSON deserialization.
Afficher le fichier Open project: bevacqua/BridgeStack

Méthodes publiques

Méthode Description
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.

Method Details

AsUnixDate() public static méthode

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.
Résultat System.DateTime

ToUnixDate() public static méthode

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.
Résultat long