-
-
Save kikers25/6aa5aa5205c6eaabcc02eb3624ce0609 to your computer and use it in GitHub Desktop.
Unit tests with dates 9
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
public interface TimeSource { | |
/** | |
* Returns the current time in milliseconds from epoch. | |
*/ | |
long millis(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment