EastAsianLunisolarCalendar Class

Note: This class is new in the .NET Framework version 2.0.

Represents a calendar that divides time into months, days, years, and eras, and whose dates are based on cycles of the sun and the moon.

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)

public abstract class EastAsianLunisolarCalendar : Calendar
/** @attribute SerializableAttribute() */ 
/** @attribute ComVisibleAttribute(true) */ 
public abstract class EastAsianLunisolarCalendar extends Calendar
public abstract class EastAsianLunisolarCalendar extends Calendar

The EastAsianLunisolarCalendar class supports lunisolar calendars where the month of the year corresponds to the season and the day of the month corresponds to the phase of moon. The year is associated with an era that repeats in a sexagenary (60-year) cycle, which consists of combinations of 10 celestial stems and 12 terrestrial branches.

A month can have a leap day and a year can have a leap month. For example, the GetMonth 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 GetMonth method returns 8 for the eighth month, 9 for the leap eighth month, and 10 for the ninth month.

Currently, the EastAsianLunisolarCalendar is not used by any of the cultures supported by the CultureInfo class; therefore, this class can be used only to calculate dates in the East Asian lunisolar calendar.

Each CultureInfo supports a set of calendars. The Calendar property returns the default calendar for the culture, and the OptionalCalendars property returns an array containing all the calendars supported by the culture. To change the calendar used by a CultureInfo, set the Calendar property of CultureInfo.DateTimeFormat to a new Calendar.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0