commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r610670 - /commons/proper/lang/trunk/src/java/org/apache/commons/lang/time/DateUtils.java
Date Thu, 10 Jan 2008 04:44:56 GMT
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) {



Mime
View raw message