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

ru.tinkoff.plugins.buildmetrics.utils.system.SystemTime.kt Maven / Gradle / Ivy

There is a newer version: 2.0.0-RC4
Show newest version
package ru.tinkoff.plugins.buildmetrics.utils.system

import java.io.Serializable

fun interface SystemTime : Serializable {

    fun currentTimeMillis(): Long
}

class SystemTimeImpl : SystemTime {

    override fun currentTimeMillis(): Long = System.currentTimeMillis()
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy