|
|
@@ -79,6 +79,16 @@ The format element also allows offsets to be applied to the time to generate dif |
|
|
|
</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 @@ sets the standard <code>DSTAMP</code>, <code>TSTAMP</code>, |
|
|
|
and <code>TODAY</code> properties according to the default formats.</p> |
|
|
|
<pre> |
|
|
|
<tstamp> |
|
|
|
<format property="TODAY_UK" pattern="d-MMMM-yyyy"/> |
|
|
|
<format property="TODAY_UK" pattern="d-MMMM-yyyy" locale="en"/> |
|
|
|
</tstamp> |
|
|
|
</pre> |
|
|
|
<p> |
|
|
|
sets the standard properties as well as the property |
|
|
|
<code>TODAY_UK</code> with the date/time pattern "d-MMMM-yyyy" |
|
|
|
(eg., 21-May-2001). |
|
|
|
using English locale (eg. 21-May-2001). |
|
|
|
|
|
|
|
<pre> |
|
|
|
<tstamp> |
|
|
|