getDateByNow

open fun getDateByNow(timeSpan: Long, unit: Int): Date

Return the date differ time span by now.

Return

the date differ time span by now

Parameters

timeSpan

The time span.

unit

The unit of time span.