millis2TimeSpan

open fun millis2TimeSpan(millis: Long, unit: Int): Long

Milliseconds to time span in unit.

Return

time span in unit

Parameters

millis

The milliseconds.

unit

The unit of time span.