Deprecating add(Date, int, int) as there is no value in it being public

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@610670 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Henri Yandell 2008-01-10 04:44:55 +00:00
parent 9878845801
commit 34ad89c74d
1 changed files with 1 additions and 0 deletions

View File

@ -393,6 +393,7 @@ public class DateUtils {
* @param amount the amount to add, may be negative
* @return the new date object with the amount added
* @throws IllegalArgumentException if the date is null
* @deprecated Will become privately scoped in 3.0
*/
public static Date add(Date date, int calendarField, int amount) {
if (date == null) {