You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ba...@apache.org on 2008/01/10 05:44:56 UTC
svn commit: r610670 -
/commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/DateUtils.java
Author: bayard
Date: Wed Jan 9 20:44:55 2008
New Revision: 610670
URL: http://svn.apache.org/viewvc?rev=610670&view=rev
Log:
Deprecating add(Date, int, int) as there is no value in it being public
Modified:
commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/DateUtils.java
Modified: commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/DateUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/DateUtils.java?rev=610670&r1=610669&r2=610670&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/DateUtils.java (original)
+++ commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/DateUtils.java Wed Jan 9 20:44:55 2008
@@ -393,6 +393,7 @@
* @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) {