Timestamp class

A DateTime wrapper which provides custom formatting and parsing options for use with Smithy services.

Constructors

Timestamp.new(DateTime timestamp)
A DateTime wrapper which provides custom formatting and parsing options for use with Smithy services.
Timestamp.now()
A DateTime wrapper which provides custom formatting and parsing options for use with Smithy services.
Timestamp.parse(Object timestamp, {TimestampFormat format = TimestampFormat.unknown})
A DateTime wrapper which provides custom formatting and parsing options for use with Smithy services.
factory

Properties

asDateTime DateTime
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

format([TimestampFormat format = TimestampFormat.dateTime]) Object
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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