DateComponents class

Constructors

DateComponents({int? era, int? year, int? month, int? day, int? hour, int? minute, int? second, int? nanosecond, int? weekday, int? weekdayOrdinal, int? quarter, int? weekOfMonth, int? weekOfYear, int? yearForWeekOfYear})
const

Properties

day int?
final
era int?
final
hashCode int
The hash code for this object.
no setterinherited
hour int?
final
map Map<String, int?>
General map representation
no setter
minute int?
final
month int?
final
nanosecond int?
final
quarter int?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
second int?
final
weekday int?
final
weekdayOrdinal int?
final
weekOfMonth int?
final
weekOfYear int?
final
year int?
final
yearForWeekOfYear int?
final

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