C# 클래스 Common.DT

파일 보기 프로젝트 열기: suntong/lang

공개 메소드들

메소드 설명
FirstDayOfYear ( ) : System.DateTime

Gets the first day of the current year.

FirstDayOfYear ( System.DateTime y ) : System.DateTime

Finds the first day of year of the specified day.

GetTomorrow ( ) : System.DateTime

Gets the next day, tomorrow.

GetYesterday ( ) : System.DateTime

Gets the previous day to the current day.

LastDayOfYear ( ) : System.DateTime

Finds the last day of the year for today.

LastDayOfYear ( System.DateTime d ) : System.DateTime

Finds the last day of the year for the selected day's year.

메소드 상세

FirstDayOfYear() 공개 정적인 메소드

Gets the first day of the current year.
public static FirstDayOfYear ( ) : System.DateTime
리턴 System.DateTime

FirstDayOfYear() 공개 정적인 메소드

Finds the first day of year of the specified day.
public static FirstDayOfYear ( System.DateTime y ) : System.DateTime
y System.DateTime
리턴 System.DateTime

GetTomorrow() 공개 정적인 메소드

Gets the next day, tomorrow.
public static GetTomorrow ( ) : System.DateTime
리턴 System.DateTime

GetYesterday() 공개 정적인 메소드

Gets the previous day to the current day.
public static GetYesterday ( ) : System.DateTime
리턴 System.DateTime

LastDayOfYear() 공개 정적인 메소드

Finds the last day of the year for today.
public static LastDayOfYear ( ) : System.DateTime
리턴 System.DateTime

LastDayOfYear() 공개 정적인 메소드

Finds the last day of the year for the selected day's year.
public static LastDayOfYear ( System.DateTime d ) : System.DateTime
d System.DateTime
리턴 System.DateTime