C# 클래스 System.Globalization.GregorianCalendar

상속: Calendar
파일 보기 프로젝트 열기: gbarnett/shared-source-cli-2.0 1 사용 예제들

Private Properties

프로퍼티 타입 설명
DateToTicks long
GetAbsoluteDate long
GetDatePart int
GetDefaultInstance Calendar
GetLeapMonth int
GetWeekOfYear int
InternalGetWeekOfYearFullDays int
TryToDateTime System.Boolean

공개 메소드들

메소드 설명
AddMonths ( System.DateTime time, int months ) : System.DateTime
AddYears ( System.DateTime time, int years ) : System.DateTime
GetDayOfMonth ( System.DateTime time ) : int
GetDayOfWeek ( System.DateTime time ) : DayOfWeek
GetDayOfYear ( System.DateTime time ) : int
GetDaysInMonth ( int year, int month, int era ) : int
GetDaysInYear ( int year, int era ) : int
GetEra ( System.DateTime time ) : int
GetMonth ( System.DateTime time ) : int
GetMonthsInYear ( int year, int era ) : int
GetYear ( System.DateTime time ) : int
GregorianCalendar ( ) : System.Threading
GregorianCalendar ( GregorianCalendarTypes type ) : System.Threading
IsLeapDay ( int year, int month, int day, int era ) : bool
IsLeapMonth ( int year, int month, int era ) : bool
IsLeapYear ( int year, int era ) : bool
ToDateTime ( int year, int month, int day, int hour, int minute, int second, int millisecond, int era ) : System.DateTime
ToFourDigitYear ( int year ) : int

비공개 메소드들

메소드 설명
DateToTicks ( int year, int month, int day ) : long
GetAbsoluteDate ( int year, int month, int day ) : long
GetDatePart ( long ticks, int part ) : int
GetDefaultInstance ( ) : Calendar
GetLeapMonth ( int year, int era ) : int
GetWeekOfYear ( System.DateTime time, CalendarWeekRule rule, DayOfWeek firstDayOfWeek ) : int
InternalGetWeekOfYearFullDays ( Calendar cal, System.DateTime time, int firstDayOfWeek, int fullDays, int daysOfMinYearMinusOne ) : int
TryToDateTime ( int year, int month, int day, int hour, int minute, int second, int millisecond, int era, System.DateTime &result ) : System.Boolean

메소드 상세

AddMonths() 공개 메소드

public AddMonths ( System.DateTime time, int months ) : System.DateTime
time System.DateTime
months int
리턴 System.DateTime

AddYears() 공개 메소드

public AddYears ( System.DateTime time, int years ) : System.DateTime
time System.DateTime
years int
리턴 System.DateTime

GetDayOfMonth() 공개 메소드

public GetDayOfMonth ( System.DateTime time ) : int
time System.DateTime
리턴 int

GetDayOfWeek() 공개 메소드

public GetDayOfWeek ( System.DateTime time ) : DayOfWeek
time System.DateTime
리턴 DayOfWeek

GetDayOfYear() 공개 메소드

public GetDayOfYear ( System.DateTime time ) : int
time System.DateTime
리턴 int

GetDaysInMonth() 공개 메소드

public GetDaysInMonth ( int year, int month, int era ) : int
year int
month int
era int
리턴 int

GetDaysInYear() 공개 메소드

public GetDaysInYear ( int year, int era ) : int
year int
era int
리턴 int

GetEra() 공개 메소드

public GetEra ( System.DateTime time ) : int
time System.DateTime
리턴 int

GetMonth() 공개 메소드

public GetMonth ( System.DateTime time ) : int
time System.DateTime
리턴 int

GetMonthsInYear() 공개 메소드

public GetMonthsInYear ( int year, int era ) : int
year int
era int
리턴 int

GetYear() 공개 메소드

public GetYear ( System.DateTime time ) : int
time System.DateTime
리턴 int

GregorianCalendar() 공개 메소드

public GregorianCalendar ( ) : System.Threading
리턴 System.Threading

GregorianCalendar() 공개 메소드

public GregorianCalendar ( GregorianCalendarTypes type ) : System.Threading
type GregorianCalendarTypes
리턴 System.Threading

IsLeapDay() 공개 메소드

public IsLeapDay ( int year, int month, int day, int era ) : bool
year int
month int
day int
era int
리턴 bool

IsLeapMonth() 공개 메소드

public IsLeapMonth ( int year, int month, int era ) : bool
year int
month int
era int
리턴 bool

IsLeapYear() 공개 메소드

public IsLeapYear ( int year, int era ) : bool
year int
era int
리턴 bool

ToDateTime() 공개 메소드

public ToDateTime ( int year, int month, int day, int hour, int minute, int second, int millisecond, int era ) : System.DateTime
year int
month int
day int
hour int
minute int
second int
millisecond int
era int
리턴 System.DateTime

ToFourDigitYear() 공개 메소드

public ToFourDigitYear ( int year ) : int
year int
리턴 int