org.oddjob.arooa.utils
Interface CalendarAdaptor

All Known Implementing Classes:
SpringSafeCalendar

public interface CalendarAdaptor

Allows a class to wrap a Calendar when setting date.

See Also:
TimeParser
Author:
rob

Method Summary
 Date getDate()
          Get the date of the underlying Calendar.
 void set(int field, int value)
          Set a field in the Calendar.
 

Method Detail

set

void set(int field,
         int value)
Set a field in the Calendar. The same as that from the Calendar class.

Parameters:
field - The field, as used by Calendar.
value - The value, as used by Calendar.

getDate

Date getDate()
Get the date of the underlying Calendar.

Returns: