TimeFormatLocale class abstract

Sets the default locale definition for date/time formatting. See the d3-time-format locale collection for definition files for a variety of languages. Note that this is a global setting.

Annotations
  • @freezed

Constructors

TimeFormatLocale.new({String? dateTime, String? date, String? time, List<String>? periods, List<String>? days, List<String>? shortDays, List<String>? months, List<String>? shortMonths})
Constructor
factory
TimeFormatLocale.fromJson(Map<String, dynamic> json)
build this object from a Json map
factory

Properties

copyWith → $TimeFormatLocaleCopyWith<TimeFormatLocale>
no setterinherited
date String?
no setterinherited
dateTime String?
no setterinherited
days List<String>?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
months List<String>?
no setterinherited
periods List<String>?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shortDays List<String>?
no setterinherited
shortMonths List<String>?
no setterinherited
time String?
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited