Author: bayard
Date: Mon Mar 12 04:37:38 2012
New Revision: 1299560
URL: http://svn.apache.org/viewvc?rev=1299560&view=rev
Log:
Adding javadoc note concerning LANG-755 and the bug in java.util.Calendar.
Modified:
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DateFormatUtils.java
Modified:
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DateFormatUtils.java
URL:
http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DateFormatUtils.java?rev=1299560&r1=1299559&r2=1299560&view=diff
==============================================================================
---
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DateFormatUtils.java
(original)
+++
commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/DateFormatUtils.java
Mon Mar 12 04:37:38 2012
@@ -27,6 +27,9 @@ import java.util.TimeZone;
* <p>Formatting is performed using the thread-safe
* {@link org.apache.commons.lang3.time.FastDateFormat} class.</p>
*
+ * <p>Note that the JDK has a bug wherein calling Calendar.get(int) will
+ * override any previously called Calendar.clear() calls. See LANG-755.</p>
+ *
* @since 2.0
* @version $Id$
*/