Represents a calendar that divides time into months, days, years, and eras, and has dates that are based on cycles of the sun and the moon.
See Also: EastAsianLunisolarCalendar Members
The System.Globalization.EastAsianLunisolarCalendar class supports the sexagenary cycle of years (which repeats every 60 years) in addition to solar years and lunar months. Each solar year in the calendar is associated with a Sexagenary Year (see EastAsianLunisolarCalendar.GetSexagenaryYear(DateTime)), a Celestial Stem (see EastAsianLunisolarCalendar.GetCelestialStem(int)), and a Terrestrial Branch (see EastAsianLunisolarCalendar.GetTerrestrialBranch(int)).
For information about using the System.Globalization.HebrewCalendar class and the other calendar classes in the .NET Framework, see Working with Calendars.
A year can have a leap month after any month of the year, and a month can have a leap day. For example, the EastAsianLunisolarCalendar.GetMonth(DateTime) method returns a positive integer that indicates the month associated with a specified date. If there is a leap month between the eighth and ninth months of the year, the EastAsianLunisolarCalendar.GetMonth(DateTime) method returns 8 for the eighth month, 9 for the leap eighth month, and 10 for the ninth month.
Each System.Globalization.CultureInfo supports a set of calendars. Currently, none of the lunisolar calendar classes that derive from System.Globalization.EastAsianLunisolarCalendar is used by any of the cultures supported by the System.Globalization.CultureInfo class. Therefore, this class and those that derive from it can be used only to calculate dates in the East Asian lunisolar calendars. This class supports several "get" methods to describe a DateTime in the terms used by lunisolar calendars, and the erload:System.Globalization.EastAsianLunisolarCalendar.ToDateTime method to convert from lunisolar calendar data to a DateTime.