public interface DateProvider
Modifier and Type | Method and Description |
---|---|
java.util.Date |
dateFor(Clock clock,
java.util.TimeZone timeZone)
Provider the date given the clock and the time zone.
|
java.util.Date dateFor(Clock clock, java.util.TimeZone timeZone)
clock
- The clock. Must not be null.timeZone
- The time zone. Null indicates the current time zone.