commonMain.com.huawei.hilink.c2c.integration.helper.time.SystemTimeMillisCurrentTimeProvider.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of helper-jvm Show documentation
Show all versions of helper-jvm Show documentation
The helper library streamlines the HiLink C2C integration and exposes a simple API.
package com.huawei.hilink.c2c.integration.helper.time
import kotlinx.datetime.Clock
internal class SystemTimeMillisCurrentTimeProvider : CurrentTimeProvider {
override fun currentTimeMillis(): Long {
return Clock.System.now().toEpochMilliseconds()
}
}