LocalizationMnQaaqMn class
Language: Traditional Mongolian with Traditional Numbers Country: Mongolia
- Inheritance
-
- Object
- MomentLocalization
- LocalizationMnMongMn
- LocalizationMnQaaqMn
Constructors
- LocalizationMnQaaqMn()
-
factory
Properties
- calendarData → CalenderLocalizationData
-
no setterinherited
- countryCode → String
-
Country code as defined in ISO 3166-1 alpha-2
no setterinherited
- defaultFormatters → FormatSetOptional
-
finalinherited
-
durationDelimiter
→ Map<
Abbreviation, String> -
If overriden, must implement for all Abbreviations
no setterinherited
- endonym → String
-
Language name in the language itself
no setterinherited
- formatters → FormatSetOptional
-
no setteroverride
-
formattersWithOrdinal
→ Map<
FormatterToken, FormatterTokenFn> -
Overrides:
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- languageCode → String
-
Language code defined in ISO 639-1
no setterinherited
- languageNameInEnglish → String
-
Language name in English
no setteroverride
- locale → String
-
Locale ID
no setteroverride
-
nonFinalFormatters
→ Map<
FormatterToken, FormatterTokenFn> -
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- srDelta → String
-
This is used as a placeholder for unit in plural expressions
no setterinherited
-
tokens
→ List<
FormatterToken> -
finalinherited
-
units
→ Map<
DurationInterval, UnitString> -
no setterinherited
-
weekdayName
→ Map<
int, String> -
Weekdays range from 1-7
no setterinherited
-
weekdayNameShort
→ Map<
int, String> -
no setterinherited
- weekStart → int
-
Start of week. For example, Monday for most countries, Sunday for weird ones
no setterinherited
Methods
-
calendar(
Moment moment, {DateTime? reference, String? customFormat, bool omitHours = false, bool omitHoursIfDistant = true}) → String -
Calendar string
inherited
-
calendarTime(
Moment moment) → String -
Some languages require article before the hours. For example, la 1:20, las 13:20 (Spanish)
inherited
-
duration(
Duration duration, {bool round = true, bool omitZeros = true, bool includeWeeks = false, Abbreviation form = Abbreviation.none, String? delimiter, DurationFormat format = DurationFormat.auto, bool dropPrefixOrSuffix = false}) → String -
This will return precise durations. For imprecise durations, use relative()
override
-
getUnit(
DurationInterval interval, Abbreviation form, {bool dropPrefixOrSuffix = false}) → String -
inherited
-
monthName(
int i) → String -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
ordinalNumber(
int n) → String -
override
-
overrideFormatters(
) → FormatSetOptional -
inherited
-
reformat(
DateTime dateTime, String payload) → String -
inherited
-
relative(
Duration duration, {bool dropPrefixOrSuffix = false, Abbreviation form = Abbreviation.none}) → String -
Please note that Mongolian language string is not in it's base form. A suffix has been added to work with
relativePast
,relativeFuture
.override -
relativeFuture(
String unit) → String -
inherited
-
relativePast(
String unit) → String -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
toTraditionalNumber(
String input) → String
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
mongolianNumbers
→ const Map<
String, String>