general_datetime library
Calendar dates shared with general_datetime_core, for Flutter applications.
Classes
- CalendarDate
- Immutable civil date. Equality includes the calendar; compareTo compares the civil-day position, so differently tagged dates can compare as zero.
- CalendarDateRange
- Half-open civil-date range. The end date is not included.
- CalendarDateRecord
- An immutable calendar date with no clock fields, timezone, or instant.
- CalendarDateUtils
- Calendar field operations that are safe for values typed as DateTime.
- CalendarInstant
- An immutable instant with optional presentation metadata.
- CalendarSystem
- Construction and conversion contract for the registered chronologies.
- CalendarSystems
- Immutable built-in registry. Named-zone and formatter support are separate.
- CalendarWeekRules
- Week-year rules apply to the chosen calendar, not implicitly to Gregorian.
-
GeneralDateTimeInterface<
T> - HijriDateTime
- A date and time in Saudi Arabia's Umm al-Qura calendar.
- PersianDateTime
- A date and time in the Solar Hijri (Persian) calendar.
Enums
- CalendarId
- Unicode calendar identifiers supported by the version-1 storage schema.
- CalendarOverflow
Typedefs
- CalendarFields = ({int day, int month, int year})
- Calendar fields describe a civil date, without assigning a timezone.