DateTimeUtilities class
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
dateFormat(
int dateMsSinceEpoch, {dynamic dateFormat = "dd-MM-yyyy"}) → String -
formatTimeAgo(
DateTime dateTime, {String? locale}) → String -
getDaysFromNow(
{dynamic days = 28}) → List< DateTime> -
getDurationInMinutes(
int durationMs) → String -
isWithinLastSevenDays(
int date) → bool -
secondsToMinutes(
int seconds, {bool clockView = true}) → String