class ChineseLunisolarCalendar
in global :: System . Globalization
Represents time in divisions, such as months, days, and years. Years are calculated using the Chinese calendar, while days and months are calculated using the lunisolar calendar.
public static int ChineseEra
Specifies the era that corresponds to the current object.
public int[] Eras { get; }
Gets the eras that correspond to the range of dates and times supported by the current object.
- Returns An array of 32-bit signed integers that specify the relevant eras. The return value for a object is always an array containing one element equal to the value.
public int GetEra( DateTime time )
Retrieves the era that corresponds to the specified type.
timeThe type to read.- Returns An integer that represents the era in the parameter.
public DateTime MaxSupportedDateTime { get; }
Gets the maximum date and time supported by the class.
- Returns A type that represents the last moment on January 28, 2101 in the Gregorian calendar, which is approximately equal to the constructor DateTime(2101, 1, 28, 23, 59, 59, 999).
public DateTime MinSupportedDateTime { get; }
Gets the minimum date and time supported by the class.
- Returns A type that represents February 19, 1901 in the Gregorian calendar, which is equivalent to the constructor, DateTime(1901, 2, 19).
public CalendarAlgorithmType AlgorithmType { get; }
😔 No documentation found.
public DateTime AddMinutes( DateTime time, int minutes )
😔 No documentation found.
public DateTime AddSeconds( DateTime time, int seconds )
😔 No documentation found.
public DateTime AddWeeks( DateTime time, int weeks )
😔 No documentation found.
public int GetDaysInMonth( int year, int month )
😔 No documentation found.
public int GetDaysInYear( int year )
😔 No documentation found.
public int GetHour( DateTime time )
😔 No documentation found.
public double GetMilliseconds( DateTime time )
😔 No documentation found.
public int GetMinute( DateTime time )
😔 No documentation found.
public int GetMonthsInYear( int year )
😔 No documentation found.
public DateTime AddHours( DateTime time, int hours )
😔 No documentation found.
public int GetSecond( DateTime time )
😔 No documentation found.
public bool IsLeapDay( int year, int month, int day )
😔 No documentation found.
public bool IsLeapMonth( int year, int month )
😔 No documentation found.
public int GetLeapMonth( int year )
😔 No documentation found.
public bool IsLeapYear( int year )
😔 No documentation found.
public DateTime ToDateTime( int year, int month, int day, int hour, int minute, int second, int millisecond )
😔 No documentation found.
public Type GetType( )
😔 No documentation found.
public string ToString( )
😔 No documentation found.
public bool Equals( object obj )
😔 No documentation found.
public int GetHashCode( )
😔 No documentation found.
public int GetWeekOfYear( DateTime time, CalendarWeekRule rule, DayOfWeek firstDayOfWeek )
😔 No documentation found.
public bool IsReadOnly { get; }
😔 No documentation found.
public DateTime AddDays( DateTime time, int days )
😔 No documentation found.
public int GetSexagenaryYear( DateTime time )
😔 No documentation found.
public int GetCelestialStem( int sexagenaryYear )
😔 No documentation found.
public int GetTerrestrialBranch( int sexagenaryYear )
😔 No documentation found.
public int GetDaysInMonth( int year, int month, int era )
😔 No documentation found.
public DateTime ToDateTime( int year, int month, int day, int hour, int minute, int second, int millisecond, int era )
😔 No documentation found.
public DateTime AddMonths( DateTime time, int months )
😔 No documentation found.
public DateTime AddYears( DateTime time, int years )
😔 No documentation found.
public int GetDayOfYear( DateTime time )
😔 No documentation found.
public int GetDayOfMonth( DateTime time )
😔 No documentation found.
public int GetDaysInYear( int year, int era )
😔 No documentation found.
public DateTime AddMilliseconds( DateTime time, double milliseconds )
😔 No documentation found.
public int GetMonth( DateTime time )
😔 No documentation found.
public DayOfWeek GetDayOfWeek( DateTime time )
😔 No documentation found.
public int GetMonthsInYear( int year, int era )
😔 No documentation found.
public bool IsLeapDay( int year, int month, int day, int era )
😔 No documentation found.
public bool IsLeapMonth( int year, int month, int era )
😔 No documentation found.
public int GetLeapMonth( int year, int era )
😔 No documentation found.
public bool IsLeapYear( int year, int era )
😔 No documentation found.
public int TwoDigitYearMax { get; set; }
😔 No documentation found.
public int ToFourDigitYear( int year )
😔 No documentation found.
public ChineseLunisolarCalendar( )
😔 No documentation found.
public int GetYear( DateTime time )
😔 No documentation found.
public object Clone( )
😔 No documentation found.