C# 클래스 DocumentDB.Framework.Helpers.EpochDateTimeEx

파일 보기 프로젝트 열기: softwarejc/documentdb-backups-csharp

공개 메소드들

메소드 설명
ToDateTime ( this epochDateTime ) : System.DateTime

Convert an amount of seconds elapsed since January 1, 1970 (midnight UTC/GMT) to DateTime

ToEpochDateTime ( this date ) : int

Convert a DateTime to the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT)

메소드 상세

ToDateTime() 공개 정적인 메소드

Convert an amount of seconds elapsed since January 1, 1970 (midnight UTC/GMT) to DateTime
public static ToDateTime ( this epochDateTime ) : System.DateTime
epochDateTime this
리턴 System.DateTime

ToEpochDateTime() 공개 정적인 메소드

Convert a DateTime to the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT)
public static ToEpochDateTime ( this date ) : int
date this
리턴 int