DateTimeFormat class

Available extensions
Annotations
  • @JS()
  • @staticInterop

Constructors

DateTimeFormat([Object? locales, DateTimeFormatOptions? options])
factory

Properties

format String Function([Object?])

Available on DateTimeFormat, provided by the DateTimeFormat$Typings extension

getter/setter pair
formatRange String Function(Object, Object)

Available on DateTimeFormat, provided by the DateTimeFormat$Typings extension

getter/setter pair
formatRangeToParts List<DateTimeRangeFormatPart> Function(Object, Object)

Available on DateTimeFormat, provided by the DateTimeFormat$Typings extension

getter/setter pair
formatToParts List<DateTimeFormatPart> Function([Object?])

Available on DateTimeFormat, provided by the DateTimeFormat$Typings extension

getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
resolvedOptions ResolvedDateTimeFormatOptions Function()

Available on DateTimeFormat, provided by the DateTimeFormat$Typings extension

getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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.
inherited

Static Properties

supportedLocalesOf List<String> Function(Object, [DateTimeFormatOptions?])
getter/setter pair