C# 클래스 Electro.Utils.DateTimeUtils

파일 보기 프로젝트 열기: HackerDom/ructfe-2015

공개 메소드들

메소드 설명
ParseUnixTime ( long milliseconds ) : System.DateTime
ToShortUnixTime ( this dateTime ) : int
ToSortable ( this dateTime ) : string
ToUnixTime ( this dateTime ) : long
TruncSeconds ( this dateTime ) : System.DateTime
TryParseSortable ( string value ) : System.DateTime

메소드 상세

ParseUnixTime() 공개 정적인 메소드

public static ParseUnixTime ( long milliseconds ) : System.DateTime
milliseconds long
리턴 System.DateTime

ToShortUnixTime() 공개 정적인 메소드

public static ToShortUnixTime ( this dateTime ) : int
dateTime this
리턴 int

ToSortable() 공개 정적인 메소드

public static ToSortable ( this dateTime ) : string
dateTime this
리턴 string

ToUnixTime() 공개 정적인 메소드

public static ToUnixTime ( this dateTime ) : long
dateTime this
리턴 long

TruncSeconds() 공개 정적인 메소드

public static TruncSeconds ( this dateTime ) : System.DateTime
dateTime this
리턴 System.DateTime

TryParseSortable() 공개 정적인 메소드

public static TryParseSortable ( string value ) : System.DateTime
value string
리턴 System.DateTime