ta_library / com.github.marlonlom.utilities.timeago / TimeAgo

TimeAgo

class TimeAgo

The Class TimeAgo. Performs date time parsing into a text with 'time ago' syntax. Usage: (1) Default:

(2) With Specific Locale (by language tag):

Author
marlonlom

Version
4.0.1

See Also

TimeAgoMessages

Since
1.0.0

Companion Object Functions

using

fun using(time: Long, resources: TimeAgoMessages = TimeAgoMessages.Builder().defaultLocale().build()): String

Returns the 'time ago' formatted text using date time.