This date instance is immutable and unaffected by this method call.
The following three lines are identical in effect:
YearMonthDay added = dt.plusDays(6); YearMonthDay added = dt.plus(Period.days(6)); YearMonthDay added = dt.withFieldAdded(DurationFieldType.days(), 6);@param days the amount of days to add, may be negative @return the new date plus the increased days @since 1.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|