| 3 | import java.util.concurrent.TimeUnit; |
| 4 | |
| 5 | public class Timer { |
| 6 | public long getCurrentTime(final TimeUnit timeUnit) { |
| 7 | return timeUnit.convert(getCurrentTimeInMillis(), TimeUnit.MILLISECONDS); |
| 8 | } |
| 9 | |
| 10 | public long getCurrentTimeInMillis() { |
| 11 | return System.currentTimeMillis(); |
| 12 | } |
| 13 | } |
nothing calls this directly
no outgoing calls
no test coverage detected