org.oddjob.util
Interface DateProvider

All Known Implementing Classes:
DateShortcuts.Defaults

public interface DateProvider

Something that can provide a date.

Author:
rob

Method Summary
 Date dateFor(Clock clock, TimeZone timeZone)
          Provider the date given the clock and the time zone.
 

Method Detail

dateFor

Date dateFor(Clock clock,
             TimeZone timeZone)
Provider the date given the clock and the time zone.

Parameters:
clock - The clock. Must not be null.
timeZone - The time zone. Null indicates the current time zone.
Returns:
The date this provider provides.