DateTimeBuilder class
Builder for DateTime
Constructors
- DateTimeBuilder([void updates(DateTimeBuilder b)?])
- DateTimeBuilder.of(DateTime duration)
-
factory
Properties
- day ↔ int
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hour ↔ int
-
getter/setter pair
- microsecond ↔ int
-
getter/setter pair
- millisecond ↔ int
-
getter/setter pair
- minute ↔ int
-
getter/setter pair
- month ↔ int
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- second ↔ int
-
getter/setter pair
- year ↔ int
-
getter/setter pair
Methods
-
build(
) → DateTime -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
replace(
DateTime dateTime) → void -
toString(
) → String -
A string representation of this object.
inherited
-
update(
void updates(DateTimeBuilder b)?) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited