public class SystemCurrentTimeStrategy extends java.lang.Object implements TimeStrategy
System.currentTimeMillis().| Constructor and Description |
|---|
SystemCurrentTimeStrategy() |
| Modifier and Type | Method and Description |
|---|---|
long |
getTime()
Return the current time.
|
public long getTime()
TimeStrategygetTime in interface TimeStrategy