RelativeDateTime class abstract

This is the abstract class for relative date time

Implementers

Constructors

RelativeDateTime()

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

aboutAMinute(int minutes) → String
Returns the relative date time for about a minute.
aboutAMonth(int days) → String
Returns the relative date time for about a month.
aboutAnHour(int minutes) → String
Returns the relative date time for about an hour.
aboutAYear(int year) → String
Returns the relative date time for about a year.
aDay(int hours) → String
Returns the relative date time for a day.
days(int days) → String
Returns the relative date time for days.
hours(int hours) → String
Returns the relative date time for hours.
lessThanOneMinute(int seconds) → String
Returns the relative date time for less than one minute.
minutes(int minutes) → String
Returns the relative date time for minutes.
months(int months) → String
Returns the relative date time for months.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prefixAgo() → String
Returns the prefix for the "ago" relative date time.
prefixFromNow() → String
Returns the prefix for the "from now" relative date time.
suffixAgo() → String
Returns the suffix for the "ago" relative date time.
suffixFromNow() → String
Returns the suffix for the "from now" relative date time.
toString() → String
A string representation of this object.
inherited
wordSeparator() → String
Returns the word separator.
years(int years) → String
Returns the relative date time for years.

Operators

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