You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by dj...@apache.org on 2014/09/26 13:19:32 UTC

svn commit: r1627753 - /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DateUtils.java

Author: djones
Date: Fri Sep 26 11:19:32 2014
New Revision: 1627753

URL: http://svn.apache.org/r1627753
Log:
Added Javadoc warnings related to LANG-796.

Modified:
    commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DateUtils.java

Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DateUtils.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DateUtils.java?rev=1627753&r1=1627752&r2=1627753&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DateUtils.java (original)
+++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DateUtils.java Fri Sep 26 11:19:32 2014
@@ -40,6 +40,12 @@ import java.util.concurrent.TimeUnit;
  * Since a date without a year is not a valid date, you have to decide in what
  * kind of date-field you want your result, for instance milliseconds or days.
  * </p>
+ * <p>
+ * Several methods are provided for adding to {@code Date} objects, of the form 
+ * {@code addXXX(Date date, int amount)}. It is important to note these methods 
+ * use a {@code Calendar} internally (with default timezone and locale) and may
+ * be affected by changes to daylight saving time (DST).
+ * </p>
  *
  * @since 2.0
  * @version $Id$