package com.gh.common.provider

import android.content.Context
import com.alibaba.android.arouter.facade.annotation.Route
import com.gh.gamecenter.feature.exposure.time.TimeUtil
import com.gh.gamecenter.common.constant.RouteConsts
import com.gh.gamecenter.core.provider.ITimeUtilProvider

@Route(path = RouteConsts.provider.timeUtil, name = "TimeUtil暴露服务")
class TimeUtilProviderImpl : ITimeUtilProvider {

    override fun currentTimeMillis() = TimeUtil.currentTimeMillis()

    override fun currentTime() = TimeUtil.currentTime()

    override fun init(context: Context?) {
        // Do nothing
    }
}