EllaDateTime class
@fileoverview Data transfer object used to communicate date & time separately
- Inheritance
-
- Object
- DateTimeSupplierObject
- EllaDateTime
- Implemented types
Constructors
- EllaDateTime(EllaDate date, EllaTime time)
- EllaDateTime.fromDateTime(DateTime dateTime)
-
factory
- EllaDateTime.now()
-
factory
- EllaDateTime.parse(String isoString)
-
factory
Properties
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