RPMTWUtil class

Utility functions for RPMTW.

Constructors

RPMTWUtil()

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

formatDuration(Duration duration, {required String i18nDay, required String i18nHour, required String i18nMinute, required String i18nSecond, bool forceShowSeconds = false, bool forceShowMinutes = false, bool forceShowHours = false, bool forceShowDays = false, bool abbreviate = false}) String
Format the duration as a readable string. i18nDay, i18nHour, i18nMinute, i18nSecond are used to translate hours, minutes and seconds
getUTCTime() DateTime
Get the now time in UTC+0 time zone.