C# 클래스 BridgeStack.UnixDateTimeHelpers

Date Time helpers to assist in JSON deserialization.
파일 보기 프로젝트 열기: bevacqua/BridgeStack

공개 메소드들

메소드 설명
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