C# Class System.Globalization.EastAsianLunisolarCalendar

Inheritance: Calendar
Mostrar archivo Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Private Properties

Property Type Description
CheckEraRange void
CheckTicksRange void
CheckYearMonthRange int
CheckYearRange int
EastAsianLunisolarCalendar System
GergIsleap int
GetGregorianYear int
GetYear int
GetYearInfo int
GregorianToLunar void
InternalGetDaysInMonth int
InternalIsLeapYear bool
LunarToGregorian bool
LunarToTime System.DateTime
MaxEraCalendarYear int
MinEraCalendarYear int
TimeToLunar void

Public Methods

Method Description
AddMonths ( System.DateTime time, int months ) : System.DateTime
AddYears ( System.DateTime time, int years ) : System.DateTime
GetCelestialStem ( int sexagenaryYear ) : int
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
GetLeapMonth ( int year, int era ) : int
GetMonth ( System.DateTime time ) : int
GetMonthsInYear ( int year, int era ) : int
GetSexagenaryYear ( System.DateTime time ) : int
GetTerrestrialBranch ( int sexagenaryYear ) : int
GetYear ( System.DateTime time ) : int
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

Private Methods

Method Description
CheckEraRange ( int era ) : void
CheckTicksRange ( long ticks ) : void
CheckYearMonthRange ( int year, int month, int era ) : int
CheckYearRange ( int year, int era ) : int
EastAsianLunisolarCalendar ( ) : System
GergIsleap ( int y ) : int
GetGregorianYear ( int year, int era ) : int
GetYear ( int year, System.DateTime time ) : int
GetYearInfo ( int LunarYear, int Index ) : int
GregorianToLunar ( int nSYear, int nSMonth, int nSDate, int &nLYear, int &nLMonth, int &nLDate ) : void
InternalGetDaysInMonth ( int year, int month ) : int
InternalIsLeapYear ( int year ) : bool
LunarToGregorian ( int nLYear, int nLMonth, int nLDate, int &nSolarYear, int &nSolarMonth, int &nSolarDay ) : bool
LunarToTime ( System.DateTime time, int year, int month, int day ) : System.DateTime
MaxEraCalendarYear ( int era ) : int
MinEraCalendarYear ( int era ) : int
TimeToLunar ( System.DateTime time, int &year, int &month, int &day ) : void

Method Details

AddMonths() public method

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

AddYears() public method

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

GetCelestialStem() public method

public GetCelestialStem ( int sexagenaryYear ) : int
sexagenaryYear int
return int

GetDayOfMonth() public method

public GetDayOfMonth ( System.DateTime time ) : int
time System.DateTime
return int

GetDayOfWeek() public method

public GetDayOfWeek ( System.DateTime time ) : DayOfWeek
time System.DateTime
return DayOfWeek

GetDayOfYear() public method

public GetDayOfYear ( System.DateTime time ) : int
time System.DateTime
return int

GetDaysInMonth() public method

public GetDaysInMonth ( int year, int month, int era ) : int
year int
month int
era int
return int

GetDaysInYear() public method

public GetDaysInYear ( int year, int era ) : int
year int
era int
return int

GetLeapMonth() public method

public GetLeapMonth ( int year, int era ) : int
year int
era int
return int

GetMonth() public method

public GetMonth ( System.DateTime time ) : int
time System.DateTime
return int

GetMonthsInYear() public method

public GetMonthsInYear ( int year, int era ) : int
year int
era int
return int

GetSexagenaryYear() public method

public GetSexagenaryYear ( System.DateTime time ) : int
time System.DateTime
return int

GetTerrestrialBranch() public method

public GetTerrestrialBranch ( int sexagenaryYear ) : int
sexagenaryYear int
return int

GetYear() public method

public GetYear ( System.DateTime time ) : int
time System.DateTime
return int

IsLeapDay() public method

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

IsLeapMonth() public method

public IsLeapMonth ( int year, int month, int era ) : bool
year int
month int
era int
return bool

IsLeapYear() public method

public IsLeapYear ( int year, int era ) : bool
year int
era int
return bool

ToDateTime() public method

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
return System.DateTime

ToFourDigitYear() public method

public ToFourDigitYear ( int year ) : int
year int
return int