Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats Top APIs
    Version Source
  1. Catalog
  2. System.Globalization
  3. GregorianCalendar
  4. ADEra
  • GregorianCalendar
    • ADEra
    • GregorianCalendar()
    • GregorianCalendar(GregorianCalendarTypes)
    • AlgorithmType
    • CalendarType
    • Eras
    • MaxSupportedDateTime
    • MinSupportedDateTime
    • TwoDigitYearMax
    • AddMonths(DateTime, Int32)
    • AddYears(DateTime, Int32)
    • GetDayOfMonth(DateTime)
    • GetDayOfWeek(DateTime)
    • GetDayOfYear(DateTime)
    • GetDaysInMonth(Int32, Int32, Int32)
    • GetDaysInYear(Int32, Int32)
    • GetEra(DateTime)
    • GetLeapMonth(Int32, Int32)
    • GetMonth(DateTime)
    • GetMonthsInYear(Int32, Int32)
    • GetWeekOfYear(DateTime, CalendarWeekRule, DayOfWeek)
    • GetYear(DateTime)
    • IsLeapDay(Int32, Int32, Int32, Int32)
    • IsLeapMonth(Int32, Int32, Int32)
    • IsLeapYear(Int32, Int32)
    • ToDateTime(Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32)
    • ToFourDigitYear(Int32)
net10.0
namespace System.Globalization
{
    public class GregorianCalendar : Calendar
    {
        public const int ADEra = 1;
    }
}
.NET
5.06.07.08.09.010.0
.NET Core
3.03.1
.NET Framework
2.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1
Information specific to net10.0
Assembly

System.Runtime , Version=10.0.0.0, PublicKeyToken=b03f5f7f11d50a3a

Referencing

The API is automatically referenced.

Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API
Search

01/11/2026
An error has occurred. This application may no longer respond until reloaded. Reload 🗙