fun Long.asDateString(format: String? = "yyyy-MM-dd HH:mm:ss"): String
get readable string of given timestamp. |
|
fun Long.convertToRelativeTime(context: Context): String
convert time (in millis) into Relative Time |
|
fun Long.normalizeDate(timeZone: String = "UTC"): Long
normalize the date to the beginning of the day with given timeZone it equals to Time.getJulianDay() |
|
fun Long.toNumInUnits(): String
Calcuate size into human-readable size |