LocalizationJaJp class
Language: Japanese Country: Japan
- Inheritance
-
- Object
- MomentLocalization
- LocalizationJaJp
Constructors
- LocalizationJaJp()
-
factory
Properties
- calendarData → CalenderLocalizationData?
-
no setterinherited
- complexCalendarData → ComplexCalenderLocalizationData
-
no setter
- 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
Abbreviation
sno setter - endonym → String
-
Language name in the language itself
no setteroverride
- formatters → FormatSetOptional
-
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
-
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 setter
-
weekdayName
→ Map<
int, String> -
Weekdays range from 1-7
no setteroverride
-
weekdayNameShort
→ Map<
int, String> -
no setter
- weekStart → int
-
Start of week. For example, Monday for most countries, Sunday for weird ones
no setteroverride
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
-
monthName(
int i) → String -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
overrideFormatters(
) → FormatSetOptional -
override
-
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