Initializes an instance of the Gregorian class using the specified GregorianTypes value. If no value is specified, the default is Gregorian.Types.Localized.
Overridden. Returns a new Time with the specified number of months added. If the months are negative, the months are subtracted.
Overridden. Add the specified number of years to the given Time.
Overridden. Returns the day of the month in the specified Time.
Overridden. Returns the day of the week in the specified Time.
Overridden. Returns the day of the year in the specified Time.
Overridden. Returns the number of days in the specified _year and _month of the specified _era.
Overridden. Returns the number of days in the specified _year of the specified _era.
Overridden. Returns the era in the specified Time.
Overridden. Returns the month in the specified Time.
Overridden. Returns the number of months in the specified _year of the specified _era.
Overridden. Returns the year in the specified Time.
Overridden. Indicates whether the specified _year in the specified _era is a leap _year.
Overridden. Get the components of a Time structure using the rules of the calendar. This is useful if you want more than one of the given components. Note that this doesn't handle the time of day, as that is calculated directly from the Time struct.
Overridden. Returns a Time value set to the specified date and time in the specified _era.
Property. Retrieves the GregorianTypes value indicating the language version of the Gregorian.
Property. Overridden. Retrieves the list of eras in the current calendar.
Property. Overridden. Retrieves the identifier associated with the current calendar.
static shared instance
Indicates the current era of the calendar.
Get the components of a Time structure using the rules of the calendar. This is useful if you want more than one of the given components. Note that this doesn't handle the time of day, as that is calculated directly from the Time struct.
Get the components of a Time structure using the rules of the calendar. This is useful if you want more than one of the given components. Note that this doesn't handle the time of day, as that is calculated directly from the Time struct.
Returns a Time value set to the specified date and time in the current era.
Returns a Time value for the given Date, in the current era
Returns a Time value for the given DateTime, in the current era
Returns a Time value for the given Date and TimeOfDay, in the current era
When overridden, returns a Time value set to the specified date and time in the specified _era.
When overridden, returns the day of the week in the specified Time.
When overridden, returns the day of the month in the specified Time.
When overridden, returns the day of the year in the specified Time.
When overridden, returns the month in the specified Time.
When overridden, returns the year in the specified Time.
When overridden, returns the era in the specified Time.
Returns the number of days in the specified _year and _month of the current era.
When overridden, returns the number of days in the specified _year and _month of the specified _era.
Returns the number of days in the specified _year of the current era.
When overridden, returns the number of days in the specified _year of the specified _era.
Returns the number of months in the specified _year of the current era.
When overridden, returns the number of months in the specified _year of the specified _era.
Returns the week of the year that includes the specified Time.
Indicates whether the specified _year in the current era is a leap _year.
When overridden, indicates whether the specified _year in the specified _era is a leap _year.
Property. When overridden, retrieves the list of eras in the current calendar.
Property. Retrieves the identifier associated with the current calendar.
Returns a new Time with the specified number of months added. If the months are negative, the months are subtracted.
Add the specified number of years to the given Time.
$(ANCHOR _Gregorian) Represents the Gregorian calendar.
Note that this is the Proleptic Gregorian calendar. Most calendars assume that dates before 9/14/1752 were Julian Dates. Julian differs from Gregorian in that leap years occur every 4 years, even on 100 year increments. The Proleptic Gregorian calendar applies the Gregorian leap year rules to dates before 9/14/1752, making the calculation of dates much easier.