Commit d3672771 authored by Him188's avatar Him188

Remove get()

parent 59e2ed85
......@@ -12,14 +12,12 @@
package net.mamoe.mirai.utils
import io.ktor.client.HttpClient
import io.ktor.util.date.GMTDate
import kotlinx.coroutines.CoroutineDispatcher
import kotlinx.io.core.toByteArray
/**
* 时间戳
*/
inline val currentTimeMillis: Long get() = GMTDate().timestamp
expect val currentTimeMillis: Long
inline val currentTimeSeconds: Long get() = currentTimeMillis / 1000
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment