package com.gdgnantes.devfest.android.util

import java.util.*

inline val Date.timeAsSeconds: Long
    get() = time / 1000
package com.gdgnantes.devfest.android.util

import java.util.*
import java.util.concurrent.TimeUnit

inline val Date.timeAsSeconds: Long
    get() = TimeUnit.MILLISECONDS.toSeconds(time)
Use TimeUnit to convert from milliseconds to seconds
Use TimeUnit to convert from milliseconds to seconds
GDG-Nantes/devfest-android,GDG-Nantes/devfest-android,GDG-Nantes/devfest-android,GDG-Nantes/devfest-android