Package | Description |
---|---|
com.massa.util |
Modifier and Type | Class and Description |
---|---|
static class |
DateUtils.DateOperation
This class is used to store directives for Dates (or time) manipulation.
|
Modifier and Type | Method and Description |
---|---|
Calendar |
DateUtils.execute(Calendar c,
DateUtils.IDateOperation operation)
Handles operations on Calendar.
|
Date |
DateUtils.execute(Date d,
DateUtils.IDateOperation operation)
Handles operations on Date.
|
Date |
DateUtils.execute(Date d,
DateUtils.IDateOperation operation)
Handles operations on java.sql.Date.
|
Time |
DateUtils.execute(Time d,
DateUtils.IDateOperation operation)
Handles operations on java.sql.Time.
|
Timestamp |
DateUtils.execute(Timestamp d,
DateUtils.IDateOperation operation)
Handles operations on java.sql.Timestamp.
|
XMLGregorianCalendar |
DateUtils.execute(XMLGregorianCalendar c,
DateUtils.IDateOperation operation)
Handles operations on XMLGregorianCalendar.
|
protected <A extends Calendar> |
DateUtils.update(A c,
DateUtils.IDateOperation operation)
Updates the provided calendar, without creating a new instance.
|