Date class

Constructors

Date(int year, int month, int day)

Properties

day → int
final
hashCode → int
The hash code for this object.
no setteroverride
month → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
year → int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDateTime() → DateTime
toString() → String
A string representation of this object.
override
weekdayToString() → String

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromDatetime(DateTime dateTime) → Date
now() → Date
parse(String input) → Date