TimeStamp class
- Inheritance
-
- Object
- TimeWrapper
- TimeStamp
Constructors
- TimeStamp({required DateTime value})
- TimeStamp.fromDateAndTime(Date date, Time time)
-
factory
- TimeStamp.fromString(String datetime)
-
factory
- TimeStamp.now()
-
factory
Properties
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