public class SpringSafeCalendar extends Object implements CalendarAdaptor
All other times remain unchanged.
| Constructor and Description |
|---|
SpringSafeCalendar() |
SpringSafeCalendar(Calendar calendar) |
SpringSafeCalendar(Date date,
TimeZone timeZone) |
| Modifier and Type | Method and Description |
|---|---|
Date |
getDate()
Get the date of the underlying Calendar.
|
void |
set(int field,
int value)
Set a field in the Calendar.
|
public SpringSafeCalendar()
public SpringSafeCalendar(Calendar calendar)
public void set(int field,
int value)
CalendarAdaptorset in interface CalendarAdaptorfield - The field, as used by Calendar.value - The value, as used by Calendar.public Date getDate()
CalendarAdaptorgetDate in interface CalendarAdaptorCopyright © 2023. All rights reserved.