diff options
author | Ashlee Young <ashlee@onosfw.com> | 2015-10-23 10:05:40 -0700 |
---|---|---|
committer | Ashlee Young <ashlee@onosfw.com> | 2015-10-23 10:05:40 -0700 |
commit | b9421dc80af485591a9c50cc8921f912e0def11e (patch) | |
tree | 93f0935070ca2b2e661f281ac22761879f7cf893 /framework/src/ant/apache-ant-1.9.6/manual/Tasks/tstamp.html | |
parent | 753a6c60f47f3ac4f270005b65e9d6481de8eb68 (diff) |
Removing sources to replace with download links instead.
Change-Id: Ie28789a725051aec0d1b04dd291b7690a7898668
Signed-off-by: Ashlee Young <ashlee@onosfw.com>
Diffstat (limited to 'framework/src/ant/apache-ant-1.9.6/manual/Tasks/tstamp.html')
-rw-r--r-- | framework/src/ant/apache-ant-1.9.6/manual/Tasks/tstamp.html | 161 |
1 files changed, 0 insertions, 161 deletions
diff --git a/framework/src/ant/apache-ant-1.9.6/manual/Tasks/tstamp.html b/framework/src/ant/apache-ant-1.9.6/manual/Tasks/tstamp.html deleted file mode 100644 index 82812a57..00000000 --- a/framework/src/ant/apache-ant-1.9.6/manual/Tasks/tstamp.html +++ /dev/null @@ -1,161 +0,0 @@ -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<html> - -<head> -<meta http-equiv="Content-Language" content="en-us"> -<link rel="stylesheet" type="text/css" href="../stylesheets/style.css"> -<title>TStamp Task</title> -</head> - -<body> - -<h2><a name="tstamp">Tstamp</a></h2> - -<h3>Description</h3> -<p>Sets the <code>DSTAMP</code>, <code>TSTAMP</code>, and <code>TODAY</code> -properties in the current project. By default, -the <code>DSTAMP</code> property is in the -format "yyyyMMdd", <code>TSTAMP</code> is in the -format "hhmm", and <code>TODAY</code> is in the -format "MMMM dd yyyy". Use the nested <code><format></code> element -to specify a different format.</p> - -<p>These properties can be used in the build-file, for instance, to create -time-stamped filenames, or used to replace placeholder tags inside documents -to indicate, for example, the release date. The best place for this task is -probably in an initialization target.</p> - -<h3>Parameters</h3> -<table border="1" cellpadding="2" cellspacing="0"> - <tr> - <td valign="top"><b>Attribute</b></td> - <td valign="top"><b>Description</b></td> - <td align="center" valign="top"><b>Required</b></td> - </tr> - <tr> - <td valign="top">prefix</td> - <td valign="top">Prefix used for all properties set. The default is no prefix.</td> - <td align="center" valign="top">No</td> - </tr> -</table> - -<h3>Nested Elements</h3> -The Tstamp task supports a <code><format></code> nested element that -allows a property to be set to the current date and time in a given format. -The date/time patterns are as defined in the Java -<a href="http://docs.oracle.com/javase/7/docs/api/java/text/SimpleDateFormat.html">SimpleDateFormat</a> class. -The format element also allows offsets to be applied to the time to generate different time values. -<br><br> -<table width="60%" border="1" cellpadding="2" cellspacing="0"> - <tr> - <td valign="top"><b>Attribute</b></td> - <td valign="top"><b>Description</b></td> - <td align="center" valign="top"><b>Required</b></td> - </tr> - <tr> - <td valign="top">property</td> - <td valign="top"> - The property to receive the date/time string in the given pattern. - </td> - <td align="center" valign="top">Yes</td> - </tr> - <tr> - <td valign="top">pattern</td> - <td valign="top">The date/time pattern to be used. The values are as defined by the Java SimpleDateFormat class.</td> - <td align="center" valign="top">Yes</td> - </tr> - <tr> - <td valign="top">timezone</td> - <td valign="top">The timezone to use for displaying time. The values are as defined by the Java <a href="http://docs.oracle.com/javase/7/docs/api/java/util/TimeZone.html">TimeZone</a> class.</td> - <td align="center" valign="top">No</td> - </tr> - <tr> - <td valign="top">offset</td> - <td valign="top">The numeric offset to the current time</td> - <td align="center" valign="top">No</td> - </tr> - <tr> - <td valign="top">unit</td> - <td valign="top">The unit of the offset to be applied to the current time. - Valid Values are - <ul> - <li>millisecond</li> - <li>second</li> - <li>minute</li> - <li>hour</li> - <li>day</li> - <li>week</li> - <li>month</li> - <li>year</li> - </ul> - </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://docs.oracle.com/javase/7/docs/api/java/util/Locale.html">Locale</a> - class.</td> - <td align="center" valign="top">No</td> - </tr> -</table> - -<h3>Examples</h3> - -<pre> - <tstamp/> -</pre> - -<p> -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_GB" pattern="d-MMMM-yyyy" locale="en,GB"/> - </tstamp> -</pre> -<p> -sets the standard properties as well as the property -<code>TODAY_UK</code> with the date/time pattern "d-MMMM-yyyy" -using English locale (eg. 21-May-2001).</p> - -<pre> - <tstamp> - <format property="touch.time" pattern="MM/dd/yyyy hh:mm aa" - offset="-5" unit="hour"/> - </tstamp> -</pre> -<p> -Creates a timestamp, in the property touch.time, 5 hours before the current time. The format in this example -is suitable for use with the <code><touch></code> task. The standard properties are set also.</p> - -<pre> - <tstamp prefix="start"/> -</pre> -<p> -Sets three properties with the standard formats, prefixed with "start.": -<code>start.DSTAMP</code>, <code>start.TSTAMP</code>, and <code>start.TODAY</code>.</p> - - - - -</body> -</html> |