EastAsianLunisolarCalendar Class

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.

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
Not applicable.

The 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 GetSexagenaryYear), a Celestial Stem (see GetCelestialStem), and a Terrestrial Branch (see GetTerrestrialBranch).

A year can have a leap month after any month of the year, and a month can have a leap day. 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.

Each CultureInfo supports a set of calendars. Currently, none of the lunisolar calendar classes that derive from EastAsianLunisolarCalendar is used by any of the cultures supported by the 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 ToDateTime method to convert from lunisolar calendar data to a DateTime.

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 Server 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 Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions