C# 클래스 NDueTime.DateTimeExtensions

파일 보기 프로젝트 열기: kevingorski/NDueTime

공개 메소드들

메소드 설명
FindDayInTheSameWeek ( this subject, DayOfWeek dayOfWeek ) : System.DateTime
IsBetween ( this subject, System.DateTime first, System.DateTime second ) : bool
IsInTheFuture ( this subject ) : bool
IsInThePast ( this subject ) : bool
ToRelativeTimeString ( this subject ) : string

메소드 상세

FindDayInTheSameWeek() 공개 정적인 메소드

public static FindDayInTheSameWeek ( this subject, DayOfWeek dayOfWeek ) : System.DateTime
subject this
dayOfWeek DayOfWeek
리턴 System.DateTime

IsBetween() 공개 정적인 메소드

public static IsBetween ( this subject, System.DateTime first, System.DateTime second ) : bool
subject this
first System.DateTime
second System.DateTime
리턴 bool

IsInTheFuture() 공개 정적인 메소드

public static IsInTheFuture ( this subject ) : bool
subject this
리턴 bool

IsInThePast() 공개 정적인 메소드

public static IsInThePast ( this subject ) : bool
subject this
리턴 bool

ToRelativeTimeString() 공개 정적인 메소드

public static ToRelativeTimeString ( this subject ) : string
subject this
리턴 string