DateTimeFactory class abstract

Interface for factory that creates DateTime and DateFormat.

This allows for creating of locale specific date time and date format.

Constructors

DateTimeFactory()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createDateFormat(String? pattern) → DateFormat
Returns a DateFormat.
createDateTime(int year, [int month = 1, int day = 1, int hour = 0, int minute = 0, int second = 0, int millisecond = 0, int microsecond = 0]) DateTime
createDateTimeFromMilliSecondsSinceEpoch(int millisecondsSinceEpoch) DateTime
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