public interface DateProvider
Modifier and Type | Field and Description |
---|---|
static DateProvider |
SYSTEM
Implementation that calls to the real @{link Date#Date()}.
|
Modifier and Type | Method and Description |
---|---|
java.util.Date |
now()
Provides this DataProvider's notion of 'now'.
|
static final DateProvider SYSTEM
SYSTEM
upon initialization and override the variable in tests.