public class DefaultEditableRelativeInstant extends DefaultRelativeInstant implements EditableRelativeInstant
| Modifier and Type | Method and Description |
|---|---|
void |
addDays(int days)
Add a number of days to the date.
|
void |
addHours(int hours)
Add a number of hours to the date.
|
void |
addMillis(int millis)
Add a number of millis to the date.
|
void |
addMinutes(int minutes)
Add a number of minutes to the date.
|
void |
addSeconds(int seconds)
Add a number of seconds to the date.
|
void |
addYears(int years)
Add a number of years to the date.
|
void |
setDate(int year,
int monthOfYear,
int dayOfMonth)
Set the date from fields.
|
void |
setTime(int hour,
int minuteOfHour,
int secondOfMinute,
int millisOfSecond)
Set the time from fields.
|
String |
toString() |
clone, compareTo, equals, getChronology, getDayOfMonth, getDayOfWeek, getEditableCopy, getHourOfDay, getMillisOfSecond, getMinuteOfDay, getMinuteOfHour, getMonthOfYear, getSecondOfDay, getSecondOfMinute, getWeekOfWeekyear, getYear, intersects, isAbsolute, isAfter, isBefore, isEqual, isInstant, isInterval, isRelative, toDate, toMillis, toStringfinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompareTo, getDayOfMonth, getEditableCopy, getHourOfDay, getMillisOfSecond, getMinuteOfDay, getMinuteOfHour, getMonthOfYear, getSecondOfDay, getSecondOfMinute, getYear, toDate, toMillis, toStringgetChronology, intersects, isAbsolute, isInstant, isInterval, isRelativepublic void setTime(int hour,
int minuteOfHour,
int secondOfMinute,
int millisOfSecond)
EditableRelativeInstantsetTime in interface EditableRelativeInstanthour - the hourminuteOfHour - the minute of the hoursecondOfMinute - the second of the minutemillisOfSecond - the millisecond of the secondpublic void setDate(int year,
int monthOfYear,
int dayOfMonth)
EditableRelativeInstantsetDate in interface EditableRelativeInstantyear - the yearmonthOfYear - the month of the yeardayOfMonth - the day of the monthpublic void addYears(int years)
EditableRelativeInstantaddYears in interface EditableRelativeInstantyears - the years to addpublic void addDays(int days)
EditableRelativeInstantaddDays in interface EditableRelativeInstantdays - the days to addpublic void addHours(int hours)
EditableRelativeInstantaddHours in interface EditableRelativeInstanthours - the hours to addpublic void addMinutes(int minutes)
EditableRelativeInstantaddMinutes in interface EditableRelativeInstantminutes - the minutes to addpublic void addSeconds(int seconds)
EditableRelativeInstantaddSeconds in interface EditableRelativeInstantseconds - the seconds to addpublic void addMillis(int millis)
EditableRelativeInstantaddMillis in interface EditableRelativeInstantmillis - the millis to addpublic String toString()
toString in class DefaultRelativeInstant