public class DateUtils extends Object
| Constructor and Description |
|---|
DateUtils() |
| Modifier and Type | Method and Description |
|---|---|
static Date |
addDays(Date date,
int amount)
Adds a number of days to a date returning a new object.
|
public static Date addDays(Date date, int amount)
Date is unchanged.date - the date, not nullamount - the amount to add, may be negativeDate with the amount addedIllegalArgumentException - if the date is nullCopyright © 2018 Suncode. All rights reserved.