HcRelativeDateFormat class

Constructors

HcRelativeDateFormat()

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

format(DateTime date) → String
toDays(num date) → num
toHours(num date) → num
toMinutes(num date) → num
toMonths(num date) → num
toSeconds(num date) → num
toYears(num date) → num

Constants

oneDay → const num
oneDayAgo → const String
oneHour → const num
oneHourAgo → const String
oneMinute → const num
oneMinuteAgo → const String
oneMonthAgo → const String
oneSecondAgo → const String
oneWeek → const num
oneYearAgo → const String