RelativeTimePluginExt extension
Extension providing relative time formatting for Hora.
- on
Methods
-
diffFromDetailed(
Hora other) → RelativeTimeDiff -
Available on Hora, provided by the RelativeTimePluginExt extension
Gets a precise relative time breakdown from another date. -
diffFromNowDetailed(
) → RelativeTimeDiff -
Available on Hora, provided by the RelativeTimePluginExt extension
Gets a precise relative time breakdown. -
relativeFrom(
Hora other, {RelativeTimeConfig config = RelativeTimeConfig.defaultConfig}) → String -
Available on Hora, provided by the RelativeTimePluginExt extension
Gets the relative time from another date. -
relativeFromNow(
{RelativeTimeConfig config = RelativeTimeConfig.defaultConfig}) → String -
Available on Hora, provided by the RelativeTimePluginExt extension
Gets the relative time from now. -
relativeFromNowShort(
) → String -
Available on Hora, provided by the RelativeTimePluginExt extension
Gets a short relative time string. -
relativeTo(
Hora other, {RelativeTimeConfig config = RelativeTimeConfig.defaultConfig}) → String -
Available on Hora, provided by the RelativeTimePluginExt extension
Gets the relative time to another date. -
relativeToNow(
{RelativeTimeConfig config = RelativeTimeConfig.defaultConfig}) → String -
Available on Hora, provided by the RelativeTimePluginExt extension
Gets the relative time to now.