Date class
- Inheritance
-
- Available Extensions
Constructors
-
Date({int day = 01, int month = 01, int year = 1999})
-
Properties
-
day
→ int
-
The day of the month
[1..31]
.
no setterinherited
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
hour
→ int
-
The hour of the day, expressed as in a 24-hour clock
[0..23]
.
no setterinherited
-
isUtc
→ bool
-
True if this DateTime is set to UTC time.
finalinherited
-
microsecond
→ int
-
The microsecond
[0...999]
.
no setterinherited
-
microsecondsSinceEpoch
→ int
-
The number of microseconds since
the "Unix epoch" 1970-01-01T00:00:00Z (UTC).
no setterinherited
-
millisecond
→ int
-
The millisecond
[0...999]
.
no setterinherited
-
millisecondsSinceEpoch
→ int
-
The number of milliseconds since
the "Unix epoch" 1970-01-01T00:00:00Z (UTC).
no setterinherited
-
minute
→ int
-
The minute
[0...59]
.
no setterinherited
-
month
→ int
-
The month
[1..12]
.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
second
→ int
-
The second
[0...59]
.
no setterinherited
-
timeZoneName
→ String
-
The time zone name.
no setterinherited
-
timeZoneOffset
→ Duration
-
The time zone offset, which
is the difference between local time and UTC.
no setterinherited
-
weekday
→ int
-
The day of the week monday..sunday.
no setterinherited
-
year
→ int
-
The year.
no setterinherited
Operators
-
operator ==(Object other)
→ bool
-
Returns true if
other
is a DateTime at the same moment and in the
same time zone (UTC or local).
inherited