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 intl
final
hashCode int
The hash code for this object.
no setteroverride
long → DateFormat
DateFormatter.Style .long for iOS
DateFormat.getLongDateFormat for Android
yMMMMd for intl
final
medium → DateFormat
DateFormatter.Style .medium for iOS
DateFormat.getMediumDateFormat for Android
yMMMd for intl
final
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 intl
final
time → DateFormat
DateFormatter.Style (.timeStyle) .short for iOS
DateFormat.getTimeFormat for Android
jm for intl
final

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