RelativeTimeSpanStringResolver

constructor(time: Instant, updateDurationMs: Long = DEFAULT_UPDATE_DURATION_MS)

Parameters

time

The instant of time to calculate the relative time from.

updateDurationMs

indicates how often the underlying string should be updated.