moment_dart library
Support for doing something awesome.
More dartdocs go here.
Classes
- CalenderLocalizationData
- CalenderLocalizationKeywords
- CustomTimeRange
- DayTimeRange
- DurationFormat
- units must be in descending order
- 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
- 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
Extensions
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()