1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
---|
2 | <!--NewPage-->
|
---|
3 | <HTML>
|
---|
4 | <HEAD>
|
---|
5 | <!-- Generated by javadoc (build 1.4.2_13) on Mon Oct 01 14:33:22 NZST 2007 -->
|
---|
6 | <TITLE>
|
---|
7 | Tstamp.CustomFormat (Apache Ant API)
|
---|
8 | </TITLE>
|
---|
9 |
|
---|
10 | <META NAME="keywords" CONTENT="org.apache.tools.ant.taskdefs.Tstamp.CustomFormat class">
|
---|
11 |
|
---|
12 | <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
|
---|
13 |
|
---|
14 | <SCRIPT type="text/javascript">
|
---|
15 | function windowTitle()
|
---|
16 | {
|
---|
17 | parent.document.title="Tstamp.CustomFormat (Apache Ant API)";
|
---|
18 | }
|
---|
19 | </SCRIPT>
|
---|
20 |
|
---|
21 | </HEAD>
|
---|
22 |
|
---|
23 | <BODY BGCOLOR="white" onload="windowTitle();">
|
---|
24 |
|
---|
25 |
|
---|
26 | <!-- ========= START OF TOP NAVBAR ======= -->
|
---|
27 | <A NAME="navbar_top"><!-- --></A>
|
---|
28 | <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
---|
29 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
30 | <TR>
|
---|
31 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
32 | <A NAME="navbar_top_firstrow"><!-- --></A>
|
---|
33 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
34 | <TR ALIGN="center" VALIGN="top">
|
---|
35 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
36 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
37 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
38 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
39 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
40 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
41 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
42 | </TR>
|
---|
43 | </TABLE>
|
---|
44 | </TD>
|
---|
45 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
46 | </EM>
|
---|
47 | </TD>
|
---|
48 | </TR>
|
---|
49 |
|
---|
50 | <TR>
|
---|
51 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
52 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/Tstamp.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>
|
---|
53 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/Tstamp.Unit.html" title="class in org.apache.tools.ant.taskdefs"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
54 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
55 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
56 | <A HREF="Tstamp.CustomFormat.html" target="_top"><B>NO FRAMES</B></A>
|
---|
57 | <SCRIPT type="text/javascript">
|
---|
58 | <!--
|
---|
59 | if(window==top) {
|
---|
60 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
61 | }
|
---|
62 | //-->
|
---|
63 | </SCRIPT>
|
---|
64 | <NOSCRIPT>
|
---|
65 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
66 | </NOSCRIPT>
|
---|
67 |
|
---|
68 | </FONT></TD>
|
---|
69 | </TR>
|
---|
70 | <TR>
|
---|
71 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
72 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
73 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
74 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
75 | </TR>
|
---|
76 | </TABLE>
|
---|
77 | <A NAME="skip-navbar_top"></A>
|
---|
78 | <!-- ========= END OF TOP NAVBAR ========= -->
|
---|
79 |
|
---|
80 | <HR>
|
---|
81 | <!-- ======== START OF CLASS DATA ======== -->
|
---|
82 | <H2>
|
---|
83 | <FONT SIZE="-1">
|
---|
84 | org.apache.tools.ant.taskdefs</FONT>
|
---|
85 | <BR>
|
---|
86 | Class Tstamp.CustomFormat</H2>
|
---|
87 | <PRE>
|
---|
88 | java.lang.Object
|
---|
89 | <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.tools.ant.taskdefs.Tstamp.CustomFormat</B>
|
---|
90 | </PRE>
|
---|
91 | <DL>
|
---|
92 | <DT><B>Enclosing class:</B><DD><A HREF="../../../../../org/apache/tools/ant/taskdefs/Tstamp.html" title="class in org.apache.tools.ant.taskdefs">Tstamp</A></DD>
|
---|
93 | </DL>
|
---|
94 | <HR>
|
---|
95 | <DL>
|
---|
96 | <DT>public class <B>Tstamp.CustomFormat</B><DT>extends java.lang.Object</DL>
|
---|
97 |
|
---|
98 | <P>
|
---|
99 | This nested element that allows a property to be set
|
---|
100 | to the current date and time in a given format.
|
---|
101 | The date/time patterns are as defined in the
|
---|
102 | Java SimpleDateFormat class.
|
---|
103 | The format element also allows offsets to be applied to
|
---|
104 | the time to generate different time values.
|
---|
105 | <P>
|
---|
106 |
|
---|
107 | <P>
|
---|
108 | <DL>
|
---|
109 | <DT><B>To do:</B></DT>
|
---|
110 | <DD>consider refactoring out into a re-usable element.</DD>
|
---|
111 | </DL>
|
---|
112 | <HR>
|
---|
113 |
|
---|
114 | <P>
|
---|
115 | <!-- ======== NESTED CLASS SUMMARY ======== -->
|
---|
116 |
|
---|
117 |
|
---|
118 | <!-- =========== FIELD SUMMARY =========== -->
|
---|
119 |
|
---|
120 |
|
---|
121 | <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
---|
122 |
|
---|
123 | <A NAME="constructor_summary"><!-- --></A>
|
---|
124 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
125 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
126 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
127 | <B>Constructor Summary</B></FONT></TD>
|
---|
128 | </TR>
|
---|
129 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
130 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Tstamp.CustomFormat.html#Tstamp.CustomFormat()">Tstamp.CustomFormat</A></B>()</CODE>
|
---|
131 |
|
---|
132 | <BR>
|
---|
133 | Create a format</TD>
|
---|
134 | </TR>
|
---|
135 | </TABLE>
|
---|
136 |
|
---|
137 | <!-- ========== METHOD SUMMARY =========== -->
|
---|
138 |
|
---|
139 | <A NAME="method_summary"><!-- --></A>
|
---|
140 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
141 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
142 | <TD COLSPAN=2><FONT SIZE="+2">
|
---|
143 | <B>Method Summary</B></FONT></TD>
|
---|
144 | </TR>
|
---|
145 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
146 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
147 | <CODE> void</CODE></FONT></TD>
|
---|
148 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Tstamp.CustomFormat.html#execute(org.apache.tools.ant.Project, java.util.Date, org.apache.tools.ant.Location)">execute</A></B>(<A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> project,
|
---|
149 | java.util.Date date,
|
---|
150 | <A HREF="../../../../../org/apache/tools/ant/Location.html" title="class in org.apache.tools.ant">Location</A> location)</CODE>
|
---|
151 |
|
---|
152 | <BR>
|
---|
153 | validate parameter and execute the format</TD>
|
---|
154 | </TR>
|
---|
155 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
156 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
157 | <CODE> void</CODE></FONT></TD>
|
---|
158 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Tstamp.CustomFormat.html#setLocale(java.lang.String)">setLocale</A></B>(java.lang.String locale)</CODE>
|
---|
159 |
|
---|
160 | <BR>
|
---|
161 | The locale used to create date/time string.</TD>
|
---|
162 | </TR>
|
---|
163 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
164 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
165 | <CODE> void</CODE></FONT></TD>
|
---|
166 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Tstamp.CustomFormat.html#setOffset(int)">setOffset</A></B>(int offset)</CODE>
|
---|
167 |
|
---|
168 | <BR>
|
---|
169 | The numeric offset to the current time.</TD>
|
---|
170 | </TR>
|
---|
171 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
172 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
173 | <CODE> void</CODE></FONT></TD>
|
---|
174 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Tstamp.CustomFormat.html#setPattern(java.lang.String)">setPattern</A></B>(java.lang.String pattern)</CODE>
|
---|
175 |
|
---|
176 | <BR>
|
---|
177 | The date/time pattern to be used.</TD>
|
---|
178 | </TR>
|
---|
179 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
180 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
181 | <CODE> void</CODE></FONT></TD>
|
---|
182 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Tstamp.CustomFormat.html#setProperty(java.lang.String)">setProperty</A></B>(java.lang.String propertyName)</CODE>
|
---|
183 |
|
---|
184 | <BR>
|
---|
185 | The property to receive the date/time string in the given pattern</TD>
|
---|
186 | </TR>
|
---|
187 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
188 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
189 | <CODE> void</CODE></FONT></TD>
|
---|
190 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Tstamp.CustomFormat.html#setTimezone(java.lang.String)">setTimezone</A></B>(java.lang.String id)</CODE>
|
---|
191 |
|
---|
192 | <BR>
|
---|
193 | The timezone to use for displaying time.</TD>
|
---|
194 | </TR>
|
---|
195 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
196 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
197 | <CODE> void</CODE></FONT></TD>
|
---|
198 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Tstamp.CustomFormat.html#setUnit(java.lang.String)">setUnit</A></B>(java.lang.String unit)</CODE>
|
---|
199 |
|
---|
200 | <BR>
|
---|
201 | <B>Deprecated.</B> <I>setUnit(String) is deprecated and is replaced with
|
---|
202 | setUnit(Tstamp.Unit) to make Ant's
|
---|
203 | Introspection mechanism do the work and also to
|
---|
204 | encapsulate operations on the unit in its own
|
---|
205 | class.</I></TD>
|
---|
206 | </TR>
|
---|
207 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
208 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
---|
209 | <CODE> void</CODE></FONT></TD>
|
---|
210 | <TD><CODE><B><A HREF="../../../../../org/apache/tools/ant/taskdefs/Tstamp.CustomFormat.html#setUnit(org.apache.tools.ant.taskdefs.Tstamp.Unit)">setUnit</A></B>(<A HREF="../../../../../org/apache/tools/ant/taskdefs/Tstamp.Unit.html" title="class in org.apache.tools.ant.taskdefs">Tstamp.Unit</A> unit)</CODE>
|
---|
211 |
|
---|
212 | <BR>
|
---|
213 | The unit of the offset to be applied to the current time.</TD>
|
---|
214 | </TR>
|
---|
215 | </TABLE>
|
---|
216 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
---|
217 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
218 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
---|
219 | <TD><B>Methods inherited from class java.lang.Object</B></TD>
|
---|
220 | </TR>
|
---|
221 | <TR BGCOLOR="white" CLASS="TableRowColor">
|
---|
222 | <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
---|
223 | </TR>
|
---|
224 | </TABLE>
|
---|
225 |
|
---|
226 | <P>
|
---|
227 |
|
---|
228 | <!-- ============ FIELD DETAIL =========== -->
|
---|
229 |
|
---|
230 |
|
---|
231 | <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
---|
232 |
|
---|
233 | <A NAME="constructor_detail"><!-- --></A>
|
---|
234 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
235 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
236 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
237 | <B>Constructor Detail</B></FONT></TD>
|
---|
238 | </TR>
|
---|
239 | </TABLE>
|
---|
240 |
|
---|
241 | <A NAME="Tstamp.CustomFormat()"><!-- --></A><H3>
|
---|
242 | Tstamp.CustomFormat</H3>
|
---|
243 | <PRE>
|
---|
244 | public <B>Tstamp.CustomFormat</B>()</PRE>
|
---|
245 | <DL>
|
---|
246 | <DD>Create a format
|
---|
247 | <P>
|
---|
248 | </DL>
|
---|
249 |
|
---|
250 | <!-- ============ METHOD DETAIL ========== -->
|
---|
251 |
|
---|
252 | <A NAME="method_detail"><!-- --></A>
|
---|
253 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
---|
254 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
---|
255 | <TD COLSPAN=1><FONT SIZE="+2">
|
---|
256 | <B>Method Detail</B></FONT></TD>
|
---|
257 | </TR>
|
---|
258 | </TABLE>
|
---|
259 |
|
---|
260 | <A NAME="setProperty(java.lang.String)"><!-- --></A><H3>
|
---|
261 | setProperty</H3>
|
---|
262 | <PRE>
|
---|
263 | public void <B>setProperty</B>(java.lang.String propertyName)</PRE>
|
---|
264 | <DL>
|
---|
265 | <DD>The property to receive the date/time string in the given pattern
|
---|
266 | <P>
|
---|
267 | <DD><DL>
|
---|
268 | <DT><B>Parameters:</B><DD><CODE>propertyName</CODE> - </DL>
|
---|
269 | </DD>
|
---|
270 | </DL>
|
---|
271 | <HR>
|
---|
272 |
|
---|
273 | <A NAME="setPattern(java.lang.String)"><!-- --></A><H3>
|
---|
274 | setPattern</H3>
|
---|
275 | <PRE>
|
---|
276 | public void <B>setPattern</B>(java.lang.String pattern)</PRE>
|
---|
277 | <DL>
|
---|
278 | <DD>The date/time pattern to be used. The values are as
|
---|
279 | defined by the Java SimpleDateFormat class.
|
---|
280 | <P>
|
---|
281 | <DD><DL>
|
---|
282 | <DT><B>Parameters:</B><DD><CODE>pattern</CODE> - <DT><B>See Also:</B><DD><CODE>SimpleDateFormat</CODE></DL>
|
---|
283 | </DD>
|
---|
284 | </DL>
|
---|
285 | <HR>
|
---|
286 |
|
---|
287 | <A NAME="setLocale(java.lang.String)"><!-- --></A><H3>
|
---|
288 | setLocale</H3>
|
---|
289 | <PRE>
|
---|
290 | public void <B>setLocale</B>(java.lang.String locale)</PRE>
|
---|
291 | <DL>
|
---|
292 | <DD>The locale used to create date/time string.
|
---|
293 | The general form is "language, country, variant" but
|
---|
294 | either variant or variant and country may be omitted.
|
---|
295 | For more information please refer to documentation
|
---|
296 | for the java.util.Locale class.
|
---|
297 | <P>
|
---|
298 | <DD><DL>
|
---|
299 | <DT><B>Parameters:</B><DD><CODE>locale</CODE> - <DT><B>See Also:</B><DD><CODE>Locale</CODE></DL>
|
---|
300 | </DD>
|
---|
301 | </DL>
|
---|
302 | <HR>
|
---|
303 |
|
---|
304 | <A NAME="setTimezone(java.lang.String)"><!-- --></A><H3>
|
---|
305 | setTimezone</H3>
|
---|
306 | <PRE>
|
---|
307 | public void <B>setTimezone</B>(java.lang.String id)</PRE>
|
---|
308 | <DL>
|
---|
309 | <DD>The timezone to use for displaying time.
|
---|
310 | The values are as defined by the Java TimeZone class.
|
---|
311 | <P>
|
---|
312 | <DD><DL>
|
---|
313 | <DT><B>Parameters:</B><DD><CODE>id</CODE> - <DT><B>See Also:</B><DD><CODE>TimeZone</CODE></DL>
|
---|
314 | </DD>
|
---|
315 | </DL>
|
---|
316 | <HR>
|
---|
317 |
|
---|
318 | <A NAME="setOffset(int)"><!-- --></A><H3>
|
---|
319 | setOffset</H3>
|
---|
320 | <PRE>
|
---|
321 | public void <B>setOffset</B>(int offset)</PRE>
|
---|
322 | <DL>
|
---|
323 | <DD>The numeric offset to the current time.
|
---|
324 | <P>
|
---|
325 | <DD><DL>
|
---|
326 | <DT><B>Parameters:</B><DD><CODE>offset</CODE> - </DL>
|
---|
327 | </DD>
|
---|
328 | </DL>
|
---|
329 | <HR>
|
---|
330 |
|
---|
331 | <A NAME="setUnit(java.lang.String)"><!-- --></A><H3>
|
---|
332 | setUnit</H3>
|
---|
333 | <PRE>
|
---|
334 | public void <B>setUnit</B>(java.lang.String unit)</PRE>
|
---|
335 | <DL>
|
---|
336 | <DD><B>Deprecated.</B> <I>setUnit(String) is deprecated and is replaced with
|
---|
337 | setUnit(Tstamp.Unit) to make Ant's
|
---|
338 | Introspection mechanism do the work and also to
|
---|
339 | encapsulate operations on the unit in its own
|
---|
340 | class.</I>
|
---|
341 | <P>
|
---|
342 | <DD><DL>
|
---|
343 | </DL>
|
---|
344 | </DD>
|
---|
345 | </DL>
|
---|
346 | <HR>
|
---|
347 |
|
---|
348 | <A NAME="setUnit(org.apache.tools.ant.taskdefs.Tstamp.Unit)"><!-- --></A><H3>
|
---|
349 | setUnit</H3>
|
---|
350 | <PRE>
|
---|
351 | public void <B>setUnit</B>(<A HREF="../../../../../org/apache/tools/ant/taskdefs/Tstamp.Unit.html" title="class in org.apache.tools.ant.taskdefs">Tstamp.Unit</A> unit)</PRE>
|
---|
352 | <DL>
|
---|
353 | <DD>The unit of the offset to be applied to the current time.
|
---|
354 | Valid Values are
|
---|
355 | <ul>
|
---|
356 | <li>millisecond</li>
|
---|
357 | <li>second</li>
|
---|
358 | <li>minute</li>
|
---|
359 | <li>hour</li>
|
---|
360 | <li>day</li>
|
---|
361 | <li>week</li>
|
---|
362 | <li>month</li>
|
---|
363 | <li>year</li>
|
---|
364 | </ul>
|
---|
365 | The default unit is day.
|
---|
366 | <P>
|
---|
367 | <DD><DL>
|
---|
368 | <DT><B>Parameters:</B><DD><CODE>unit</CODE> - </DL>
|
---|
369 | </DD>
|
---|
370 | </DL>
|
---|
371 | <HR>
|
---|
372 |
|
---|
373 | <A NAME="execute(org.apache.tools.ant.Project, java.util.Date, org.apache.tools.ant.Location)"><!-- --></A><H3>
|
---|
374 | execute</H3>
|
---|
375 | <PRE>
|
---|
376 | public void <B>execute</B>(<A HREF="../../../../../org/apache/tools/ant/Project.html" title="class in org.apache.tools.ant">Project</A> project,
|
---|
377 | java.util.Date date,
|
---|
378 | <A HREF="../../../../../org/apache/tools/ant/Location.html" title="class in org.apache.tools.ant">Location</A> location)</PRE>
|
---|
379 | <DL>
|
---|
380 | <DD>validate parameter and execute the format
|
---|
381 | <P>
|
---|
382 | <DD><DL>
|
---|
383 | <DT><B>Parameters:</B><DD><CODE>project</CODE> - project to set property in<DD><CODE>date</CODE> - date to use as a starting point<DD><CODE>location</CODE> - line in file (for errors)</DL>
|
---|
384 | </DD>
|
---|
385 | </DL>
|
---|
386 | <!-- ========= END OF CLASS DATA ========= -->
|
---|
387 | <HR>
|
---|
388 |
|
---|
389 |
|
---|
390 | <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
---|
391 | <A NAME="navbar_bottom"><!-- --></A>
|
---|
392 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
---|
393 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
---|
394 | <TR>
|
---|
395 | <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
---|
396 | <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
---|
397 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
---|
398 | <TR ALIGN="center" VALIGN="top">
|
---|
399 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
---|
400 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
---|
401 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
---|
402 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
---|
403 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
---|
404 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
---|
405 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
---|
406 | </TR>
|
---|
407 | </TABLE>
|
---|
408 | </TD>
|
---|
409 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
---|
410 | </EM>
|
---|
411 | </TD>
|
---|
412 | </TR>
|
---|
413 |
|
---|
414 | <TR>
|
---|
415 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
416 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/Tstamp.html" title="class in org.apache.tools.ant.taskdefs"><B>PREV CLASS</B></A>
|
---|
417 | <A HREF="../../../../../org/apache/tools/ant/taskdefs/Tstamp.Unit.html" title="class in org.apache.tools.ant.taskdefs"><B>NEXT CLASS</B></A></FONT></TD>
|
---|
418 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
---|
419 | <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
|
---|
420 | <A HREF="Tstamp.CustomFormat.html" target="_top"><B>NO FRAMES</B></A>
|
---|
421 | <SCRIPT type="text/javascript">
|
---|
422 | <!--
|
---|
423 | if(window==top) {
|
---|
424 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
---|
425 | }
|
---|
426 | //-->
|
---|
427 | </SCRIPT>
|
---|
428 | <NOSCRIPT>
|
---|
429 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
---|
430 | </NOSCRIPT>
|
---|
431 |
|
---|
432 | </FONT></TD>
|
---|
433 | </TR>
|
---|
434 | <TR>
|
---|
435 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
436 | SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
---|
437 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
---|
438 | DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
---|
439 | </TR>
|
---|
440 | </TABLE>
|
---|
441 | <A NAME="skip-navbar_bottom"></A>
|
---|
442 | <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
---|
443 |
|
---|
444 | <HR>
|
---|
445 | Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.
|
---|
446 | </BODY>
|
---|
447 | </HTML>
|
---|