commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject svn commit: r1533406 - /commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/FastDatePrinter.java
Date Fri, 18 Oct 2013 11:49:52 GMT
Author: britter
Date: Fri Oct 18 11:49:52 2013
New Revision: 1533406

URL: http://svn.apache.org/r1533406
Log:
Add missing JavaDoc

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

Modified: commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/FastDatePrinter.java
URL: http://svn.apache.org/viewvc/commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/FastDatePrinter.java?rev=1533406&r1=1533405&r2=1533406&view=diff
==============================================================================
--- commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/FastDatePrinter.java
(original)
+++ commons/proper/lang/trunk/src/main/java/org/apache/commons/lang3/time/FastDatePrinter.java
Fri Oct 18 11:49:52 2013
@@ -399,10 +399,19 @@ public class FastDatePrinter implements 
         return applyRulesToString(c);
     }
 
+    /**
+     * Creates a String representation of the given Calendar by applying the rules of this
printer to it.
+     * @param c the Calender to apply the rules to.
+     * @return a String representation of the given Calendar.
+     */
     private String applyRulesToString(final Calendar c) {
         return applyRules(c, new StringBuffer(mMaxLengthEstimate)).toString();
     }
 
+    /**
+     * Creation method for ne calender instances.
+     * @return a new Calendar instance.
+     */
     private GregorianCalendar newCalendar() {
         // hard code GregorianCalendar
         return new GregorianCalendar(mTimeZone, mLocale);



Mime
View raw message