TimeStamp class

Inheritance

Constructors

TimeStamp({required DateTime value})
TimeStamp.fromDateAndTime(Date date, Time time)
factory
TimeStamp.fromString(String datetime)
factory
TimeStamp.now()
factory

Properties

day Date
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
time Time
no setter
value DateTime
final

Methods

compareTo(TimeWrapper compare) int
inherited
decrease(Duration value) TimeWrapper
override
difference(TimeWrapper compare) Duration
inherited
format({DateFormat? formatter, TimeStamp? filler}) String
override
increase(Duration value) TimeWrapper
override
isAfter(TimeWrapper wrapper, {bool alsoEqual = true}) bool
inherited
isBefore(TimeWrapper wrapper, {bool alsoEqual = true}) bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDateTime({TimeStamp? filler}) DateTime
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

tryParse(String? value) TimeStamp?