CalendarKind enum
The various calendar types currently supported by Calendar
See the Rust documentation for AnyCalendarKind
for more information.
Values
- iso → const CalendarKind
-
The kind of an Iso calendar
- gregorian → const CalendarKind
-
The kind of a Gregorian calendar
- buddhist → const CalendarKind
-
The kind of a Buddhist calendar
- japanese → const CalendarKind
-
The kind of a Japanese calendar with modern eras
- japaneseExtended → const CalendarKind
-
The kind of a Japanese calendar with modern and historic eras
- ethiopian → const CalendarKind
-
The kind of an Ethiopian calendar, with Amete Mihret era
- ethiopianAmeteAlem → const CalendarKind
-
The kind of an Ethiopian calendar, with Amete Alem era
- indian → const CalendarKind
-
The kind of a Indian calendar
- coptic → const CalendarKind
-
The kind of a Coptic calendar
- dangi → const CalendarKind
-
The kind of a Dangi calendar
- chinese → const CalendarKind
-
The kind of a Chinese calendar
- hebrew → const CalendarKind
-
The kind of a Hebrew calendar
- hijriTabularTypeIiFriday → const CalendarKind
-
The kind of a Hijri tabular, type II leap years, Friday epoch, calendar
- hijriSimulatedMecca → const CalendarKind
-
The kind of a Hijri simulated, Mecca calendar
- hijriTabularTypeIiThursday → const CalendarKind
-
The kind of a Hijri tabular, type II leap years, Thursday epoch, calendar
- hijriUmmAlQura → const CalendarKind
-
The kind of a Hijri Umm al-Qura calendar
- persian → const CalendarKind
-
The kind of a Persian calendar
- roc → const CalendarKind
-
The kind of a Roc calendar
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
create(
Locale locale) → CalendarKind - Creates a new CalendarKind for the specified locale, using compiled data.
Constants
-
values
→ const List<
CalendarKind> - A constant List of the values in this enum, in order of their declaration.