ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: jakarta-ant/docs/manual/CoreTasks tstamp.html
Date Wed, 01 Aug 2001 11:22:18 GMT
conor       01/08/01 04:22:18

  Modified:    docs/manual/CoreTasks tstamp.html
  Log:
  Documentation for new Locale option in <tstamp>
  
  Submitted by:	Michal Pise <michal.pise@st.ms.mff.cuni.cz>
  
  Revision  Changes    Path
  1.6       +12 -2     jakarta-ant/docs/manual/CoreTasks/tstamp.html
  
  Index: tstamp.html
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/docs/manual/CoreTasks/tstamp.html,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- tstamp.html	2001/07/11 15:36:49	1.5
  +++ tstamp.html	2001/08/01 11:22:18	1.6
  @@ -79,6 +79,16 @@
       </td>
       <td align="center" valign="top">No</td>
     </tr>
  +  <tr>
  +    <td valign="top">locale</td>
  +    <td valign="top">The locale used to create date/time string. The general
  +      form is "language, country, variant" but either variant or variant and
  +      country may be omitted. For more information please refer to documentation
  +      for the 
  +      <a href="http://java.sun.com/j2se/1.3/docs/api/java/util/Locale.html">Locale</a>
  +      class.</td>
  +    <td align="center" valign="top">No</td>
  +  </tr>
   </table>
   
   <h3>Examples</h3>
  @@ -92,13 +102,13 @@
   and <code>TODAY</code> properties according to the default formats.</p>
   <pre>
     &lt;tstamp&gt;
  -    &lt;format property=&quot;TODAY_UK&quot; pattern=&quot;d-MMMM-yyyy&quot;/&gt;
  +    &lt;format property=&quot;TODAY_UK&quot; pattern=&quot;d-MMMM-yyyy&quot;
locale=&quot;en&quot;/&gt;
     &lt;/tstamp&gt;
   </pre>
   <p>
   sets the standard properties as well as the property
   <code>TODAY_UK</code> with the date/time pattern &quot;d-MMMM-yyyy&quot;
  -(eg., 21-May-2001).
  +using English locale (eg. 21-May-2001).
   
   <pre>
     &lt;tstamp&gt;
  
  
  

Mime
View raw message