DateFormatPatterns class
Date format patterns configuration
- Annotations
Constructors
- DateFormatPatterns({required DateFormat short, required DateFormat medium, required DateFormat long, required DateFormat full, required DateFormat time})
-
Creates a DateFormatPatterns instance
const
-
DateFormatPatterns.fromMap(Map<
String, String> ? map) -
Creates DateFormatPatterns from method channel's map
factory
- DateFormatPatterns.init()
-
Initializes DateFormatPatterns with default intl patterns
factory
Properties
- full → DateFormat
-
DateFormatter.Style .full for iOS
DateFormat.getDateInstance(.FULL, locale) for Android
yMMMMEEEEd for intlfinal - hashCode → int
-
The hash code for this object.
no setteroverride
- long → DateFormat
-
DateFormatter.Style .long for iOS
DateFormat.getLongDateFormat for Android
yMMMMd for intlfinal - medium → DateFormat
-
DateFormatter.Style .medium for iOS
DateFormat.getMediumDateFormat for Android
yMMMd for intlfinal - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- short → DateFormat
-
DateFormatter.Style .short for iOS
DateFormat.getDateFormat for Android
yMd for intlfinal - time → DateFormat
-
DateFormatter.Style (.timeStyle) .short for iOS
DateFormat.getTimeFormat for Android
jm for intlfinal
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override