EllaDateTime class

@fileoverview Data transfer object used to communicate date & time separately

Inheritance
Implemented types

Constructors

EllaDateTime(EllaDate date, EllaTime time)
EllaDateTime.fromDateTime(DateTime dateTime)
factory
EllaDateTime.now()
factory
EllaDateTime.parse(String isoString)
factory

Properties

date EllaDate
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
time EllaTime
final

Methods

add(Duration duration) EllaDateTime
getSecondsSinceEpoch() int
marshal(MarshalledObject marshalled) → void
serialise to this object.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDateTime() DateTime
override
toDateTimeAsUTC() DateTime
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

unmarshal(MarshalledObject marshalled) EllaDateTime