LocalizationFrFr class
Language: French Country: France
- Inheritance
-
- Object
- MomentLocalization
- LocalizationFrFr
Constructors
- LocalizationFrFr()
-
factory
Properties
- calendarData → CalenderLocalizationData
-
no setteroverride
- countryCode → String
-
Country code as defined in ISO 3166-1 alpha-2
no setteroverride
- defaultFormatters → FormatSetOptional
-
finalinherited
- delimeterConnector → String?
-
"and" keyword.
no setterinherited
-
durationDelimiter
→ Map<
Abbreviation, String> -
If overriden, must implement for all Abbreviations
no setterinherited
- endonym → String
-
Language name in the language itself
no setteroverride
- formatters → FormatSetOptional
-
no setterinherited
-
formattersForMonthNames
→ Map<
FormatterToken, FormatterTokenFn> -
Overrides:
no setterinherited
-
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 setteroverride
- languageNameInEnglish → String
-
Language name in English
no setteroverride
- locale → String
-
Locale ID
no setterinherited
-
monthNames
→ Map<
int, String> -
Month name from month number (1-12) (January, Febuary, ..., December)
no setter
-
monthNamesMin
→ Map<
int, String> ? -
Min month name from month (1-12) (01, 02, ..., 12)
no setterinherited
-
monthNamesShort
→ Map<
int, String> -
Short month name from month (1-12) (Jan, Feb, ..., Dec)
no setter
-
nonFinalFormatters
→ Map<
FormatterToken, FormatterTokenFn> -
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- simpleRangeData → SimpleRangeData
-
no setter
- srDelta → String
-
This is used as a placeholder for unit in plural expressions
no setterinherited
-
tokens
→ List<
FormatterToken> -
finalinherited
-
units
→ Map<
DurationInterval, UnitString> -
no setter
-
weekdayName
→ Map<
int, String> -
Weekdays range from 1-7
no setteroverride
- weekStart → int
-
Start of week. For example, Monday for most countries, Sunday for the 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()
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
ordinalNumber(
int n) → String -
overrideFormatters(
) → FormatSetOptional -
override
-
range(
TimeRange range, {DateTime? anchor, bool useRelative = true}) → String -
useRelative
- When set totrue
, returns relative strings whenever possible. For example, in en_US, "This week", "This month", "This year" whenever possible. Some localizations may not support relative, or non-relative in some cases.inherited -
reformat(
DateTime dateTime, String payload) → String -
inherited
-
relative(
Duration duration, {bool dropPrefixOrSuffix = false, Abbreviation form = Abbreviation.none}) → String -
Toggle
dropPrefixOrSuffix
to get spanned duration without any prefix or suffix.inherited -
relativeFuture(
String unit) → String -
relativePast(
String unit) → String -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited