moment_dart library
Classes
- CalenderLocalizationData
- CalenderLocalizationKeywords
- CustomTimeRange
- DayTimeRange
- DurationFormat
- units must be in descending order
- HourTimeRange
- IsoWeekTimeRange
- LocalizationDeDe
- Language: German Country: Germany
- LocalizationEnUs
- Language: English (US) Country: United States of America
- LocalizationEsEs
- Language: Spanish Country: Spain
- LocalizationFrFr
- Language: French Country: France
- LocalizationItIt
- Language: Italian Country: Italy
- LocalizationJaJp
- Language: Japanese Country: Japan
- LocalizationKoKr
- Language: Korean Country: Korea, Republic of
- LocalizationMnMn
- Language: Mongolian (Cyrillic) Country: Mongolia
- LocalizationMnMongMn
- Language: Traditional Mongolian with Arabic numbers Country: Mongolia
- LocalizationMnQaaqMn
- Language: Traditional Mongolian with Traditional Numbers Country: Mongolia
- LocalizationPtPt
- Language: Portuguese Country: Portuguese Republic
- LocalizationTrTr
- Language: Turkish (Turkey) Country: Turkey
- LocalizationZhCn
- Language: Simplified Chinese Country: China
- LocalWeekTimeRange
- Moment
- A subclass of DateTime. Therefore:
- MomentLocalization
- Extend this class to create new localization
- MomentLocalizations
- MonthTimeRange
- TimeRange
- YearTimeRange
Enums
- Abbreviation
- DurationInterval
- DurationUnit
- Does not take account for timezone
- FormatterToken
Mixins
-
PageableRange<
T extends TimeRange>
Extensions
- DateTimeConstructors on DateTime
- DayFinder on DateTime
- DayFinderMoment on Moment
- DurationExtra on Duration
- EndOfUnit on DateTime
- EndOfUnitMoment on Moment
- HourFinder on DateTime
- HourFinderMoment on Moment
- IsoWeekFinder on DateTime
- IsoWeekFinderMoment on Moment
- LocalWeekFinder on DateTime
- LocalWeekFinderMoment on Moment
- MinuteFinder on DateTime
- MinuteFinderMoment on Moment
- MomentBenefits on DateTime
- MomentBenefitsPlus on Moment
- MonthFinder on DateTime
- MonthFinderMoment on Moment
- StartOfUnit on DateTime
- StartOfUnitMoment on Moment
- UnitComparision on DateTime
- UnitComparisonMoment on Moment
- WeekdayFinder on DateTime
- WeekdayFinderMoment on Moment
- YearFinder on DateTime
- YearFinderMoment on Moment
Functions
-
defaultCalendarKeywordDateAtTimeString(
String date, String time) → String -
defaultCalendarKeywordLastString(
String weekday) → String -
defaultCalendarKeywordNextString(
String weekday) → String
Typedefs
- CalendarKeywordDateAtTimeString = String Function(String date, String time)
- CalendarKeywordLastWeekdayString = String Function(String weekday)
- CalendarKeywordNextWeekdayString = String Function(String weekday)
- FormatterFn = String Function(DateTime, FormatterToken, MomentLocalization)
- FormatterTokenFn = String Function(DateTime)
- LocalizationFn = MomentLocalization Function()