isWithinDurationFromNow
inline fun Date?.isWithinDurationFromNow(duration: TimeDuration, now: () -> Long = { System.currentTimeMillis() }): Boolean
Returns true if the date is within the specified duration from now.
Returns true if the date is within the specified duration from now.