All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.huawei.hilink.c2c.integration.helper.time.SystemTimeMillisCurrentTimeProvider.kt Maven / Gradle / Ivy

Go to download

The helper library streamlines the HiLink C2C integration and exposes a simple API.

There is a newer version: 1.3.2
Show newest version
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()
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy