From 34ad89c74da82a900202d8bef356142e5e77505b Mon Sep 17 00:00:00 2001 From: Henri Yandell Date: Thu, 10 Jan 2008 04:44:55 +0000 Subject: [PATCH] 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 --- src/java/org/apache/commons/lang/time/DateUtils.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/java/org/apache/commons/lang/time/DateUtils.java b/src/java/org/apache/commons/lang/time/DateUtils.java index 4f8aebce4..3e7f19b01 100644 --- a/src/java/org/apache/commons/lang/time/DateUtils.java +++ b/src/java/org/apache/commons/lang/time/DateUtils.java @@ -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) {