C# 클래스 Org.BouncyCastle.Utilities.Date.DateTimeUtilities

파일 보기 프로젝트 열기: nonorganic/dssnet 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
UnixEpoch System.DateTime

공개 메소드들

메소드 설명
CurrentUnixMs ( ) : long

Return the current number of milliseconds since the Unix epoch (1 Jan., 1970 UTC).

DateTimeToUnixMs ( System.DateTime dateTime ) : long

Return the number of milliseconds since the Unix epoch (1 Jan., 1970 UTC) for a given DateTime value.

UnixMsToDateTime ( long unixMs ) : System.DateTime

Create a DateTime value from the number of milliseconds since the Unix epoch (1 Jan., 1970 UTC).

비공개 메소드들

메소드 설명
DateTimeUtilities ( ) : System

메소드 상세

CurrentUnixMs() 공개 정적인 메소드

Return the current number of milliseconds since the Unix epoch (1 Jan., 1970 UTC).
public static CurrentUnixMs ( ) : long
리턴 long

DateTimeToUnixMs() 공개 정적인 메소드

Return the number of milliseconds since the Unix epoch (1 Jan., 1970 UTC) for a given DateTime value.
'dateTime' is before epoch.
public static DateTimeToUnixMs ( System.DateTime dateTime ) : long
dateTime System.DateTime A UTC DateTime value not before epoch.
리턴 long

UnixMsToDateTime() 공개 정적인 메소드

Create a DateTime value from the number of milliseconds since the Unix epoch (1 Jan., 1970 UTC).
public static UnixMsToDateTime ( long unixMs ) : System.DateTime
unixMs long Number of milliseconds since the epoch.
리턴 System.DateTime

프로퍼티 상세

UnixEpoch 공개적으로 정적으로 프로퍼티

public static DateTime,System UnixEpoch
리턴 System.DateTime