C# 클래스 EixoX.DateTimeHelper

파일 보기 프로젝트 열기: EixoX/Jetfuel-CSharp

공개 메소드들

메소드 설명
AddBusinessDay ( System.DateTime date, int days ) : System.DateTime
EnsureBusinessDay ( System.DateTime date, bool up ) : System.DateTime
EnsureBusinessDay ( System.DateTime date, int direction ) : System.DateTime
GetAgeInYears ( System.DateTime big, System.DateTime small ) : int
TryAppendTimeHMS ( System.DateTime date, string input, System.DateTime defaultDate, System.DateTime &dateOutput ) : bool
TryParse ( string input, IFormatProvider formatProvider, System.DateTime defaultDate, System.DateTime &date ) : bool
TryParseYMD ( string input, System.DateTime defaultDate, System.DateTime &date ) : bool
UnixTime ( System.DateTime dt ) : long

메소드 상세

AddBusinessDay() 공개 정적인 메소드

public static AddBusinessDay ( System.DateTime date, int days ) : System.DateTime
date System.DateTime
days int
리턴 System.DateTime

EnsureBusinessDay() 공개 정적인 메소드

public static EnsureBusinessDay ( System.DateTime date, bool up ) : System.DateTime
date System.DateTime
up bool
리턴 System.DateTime

EnsureBusinessDay() 공개 정적인 메소드

public static EnsureBusinessDay ( System.DateTime date, int direction ) : System.DateTime
date System.DateTime
direction int
리턴 System.DateTime

GetAgeInYears() 공개 정적인 메소드

public static GetAgeInYears ( System.DateTime big, System.DateTime small ) : int
big System.DateTime
small System.DateTime
리턴 int

TryAppendTimeHMS() 공개 정적인 메소드

public static TryAppendTimeHMS ( System.DateTime date, string input, System.DateTime defaultDate, System.DateTime &dateOutput ) : bool
date System.DateTime
input string
defaultDate System.DateTime
dateOutput System.DateTime
리턴 bool

TryParse() 공개 정적인 메소드

public static TryParse ( string input, IFormatProvider formatProvider, System.DateTime defaultDate, System.DateTime &date ) : bool
input string
formatProvider IFormatProvider
defaultDate System.DateTime
date System.DateTime
리턴 bool

TryParseYMD() 공개 정적인 메소드

public static TryParseYMD ( string input, System.DateTime defaultDate, System.DateTime &date ) : bool
input string
defaultDate System.DateTime
date System.DateTime
리턴 bool

UnixTime() 공개 정적인 메소드

public static UnixTime ( System.DateTime dt ) : long
dt System.DateTime
리턴 long