commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nia...@apache.org
Subject svn commit: r376700 - /jakarta/commons/proper/validator/trunk/src/share/org/apache/commons/validator/routines/package.html
Date Fri, 10 Feb 2006 14:28:54 GMT
Author: niallp
Date: Fri Feb 10 06:28:52 2006
New Revision: 376700

URL: http://svn.apache.org/viewcvs?rev=376700&view=rev
Log:
JavaDoc corrections

Modified:
    jakarta/commons/proper/validator/trunk/src/share/org/apache/commons/validator/routines/package.html

Modified: jakarta/commons/proper/validator/trunk/src/share/org/apache/commons/validator/routines/package.html
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/validator/trunk/src/share/org/apache/commons/validator/routines/package.html?rev=376700&r1=376699&r2=376700&view=diff
==============================================================================
--- jakarta/commons/proper/validator/trunk/src/share/org/apache/commons/validator/routines/package.html
(original)
+++ jakarta/commons/proper/validator/trunk/src/share/org/apache/commons/validator/routines/package.html
Fri Feb 10 06:28:52 2006
@@ -113,10 +113,10 @@
    date/time values as Strings:
 </p>
 <ul>
-    <li><code>format(<i>number</i>)</code></li>
-    <li><code>format(<i>number</i>, <i>pattern</i>)</code></li>
-    <li><code>format(<i>number</i>, Locale)</code></li>
-    <li><code>format(<i>number</i>, <i>pattern</i>, Locale)</code></li>
+    <li><code>format(<i>date/calendar</i>)</code></li>
+    <li><code>format(<i>date/calendar</i>, <i>pattern</i>)</code></li>
+    <li><code>format(<i>date/calendar</i>, Locale)</code></li>
+    <li><code>format(<i>date/calendar</i>, <i>pattern</i>,
Locale)</code></li>
 </ul>
 
 <a name="date.timezone"></a>
@@ -229,7 +229,7 @@
       // Validate/Convert the number
       Integer fooInteger = validator.validate(fooString, "#,##0.00", Locale.GERMAN);
       if (fooInteger == null) {
-          // error...not a valid date
+          // error...not a valid Integer
           return;
       }
 </pre>
@@ -241,7 +241,7 @@
     <li><code>isValid(<i>value</i>, <i>pattern</i>, Locale)</code></li>
 </ul>
 
-<p>The following methods are provided to validate a date/time and convert it one of

+<p>The following methods are provided to validate a number and convert it one of 
    the <code>java.lang.Number</code> implementations:</p>
 <ul>
     <li><code>validate(<i>value</i>)</code></li>



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message