[]
Extended Japanese calendar.
public class JapaneseCalendarEx : CalendarEx, ICloneable
| Name | Description |
|---|---|
| AlgorithmType | Gets a value that indicates whether the current calendar is solar-based, lunar-based, or a combination of both. |
| DefaultInstance | The JapaneseCalendarEx default instance. |
| PrototypeCalendar | Gets a prototype calendar. |
| TwoDigitYearMax | Gets or sets the last year of a 100-year range that can be represented by a 2-digit year. |
| Name | Description |
|---|---|
| AddJapaneseEra(int, DateTime, DateTime, string, string, string, string) | Adds a Japanese era in the calendar. |
| AddMonths(DateTime, int) | Returns a DateTime that is the specified number of months away from the specified DateTime. |
| AddYears(DateTime, int) | Returns a DateTime that is the specified number of years away from the specified DateTime. |
| GetDayOfMonth(DateTime) | Returns the day of the month in the specified DateTime. |
| GetDayOfWeek(DateTime) | Returns the day of the week in the specified DateTime. |
| GetDayOfYear(DateTime) | Returns the day of the year in the specified DateTime. |
| GetDaysInMonth(int, int, int) | Returns the number of days in the specified month in the specified year in the specified era. |
| GetDaysInYear(int, int) | Returns the number of days in the specified year in the specified era. |
| GetEra(DateTime) | Returns the era in the specified DateTime. |
| GetLeapMonth(int, int) | Calculates the leap month for a specified year and era. |
| GetMonth(DateTime) | Returns the month in the specified DateTime. |
| GetMonthsInYear(int, int) | Returns the number of months in the specified year in the specified era. |
| GetWeekOfYear(DateTime, CalendarWeekRule, DayOfWeek) | Returns the week of the year that includes the date in the specified DateTime object. |
| GetYear(DateTime) | Returns the year in the specified DateTime. |
| IsLeapDay(int, int, int, int) | Determines whether the specified date in the specified era is a leap day. |
| IsLeapMonth(int, int, int) | Determines whether the specified month in the specified year in the specified era is a leap month. |
| IsLeapYear(int, int) | Determines whether the specified year in the specified era is a leap year. |
| ToDateTime(int, int, int, int, int, int, int, int) | Returns a DateTime that is set to the specified date and time in the specified era. |