Last active
August 22, 2019 09:50
-
-
Save IvanShafran/acde17a87ef4254c6f56c6b4a303cd5f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface Time { | |
fun getCurrentTimeMillis(): Long | |
} | |
class TimeImpl : Time { | |
override fun getCurrentTimeMillis() = System.currentTimeMillis() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment