source: nutchez-0.1/tomcat/webapps/examples/jsp/dates/date.jsp @ 168

Last change on this file since 168 was 66, checked in by waue, 15 years ago

NutchEz - an easy way to nutch

File size: 1.7 KB
Line 
1<html>
2<!--
3 Licensed to the Apache Software Foundation (ASF) under one or more
4  contributor license agreements.  See the NOTICE file distributed with
5  this work for additional information regarding copyright ownership.
6  The ASF licenses this file to You under the Apache License, Version 2.0
7  (the "License"); you may not use this file except in compliance with
8  the License.  You may obtain a copy of the License at
9
10      http://www.apache.org/licenses/LICENSE-2.0
11
12  Unless required by applicable law or agreed to in writing, software
13  distributed under the License is distributed on an "AS IS" BASIS,
14  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  See the License for the specific language governing permissions and
16  limitations under the License.
17-->
18
19<%@ page session="false"%>
20
21<body bgcolor="white">
22<jsp:useBean id='clock' scope='page' class='dates.JspCalendar' type="dates.JspCalendar" />
23
24<font size=4>
25<ul>
26<li>  Day of month: is  <jsp:getProperty name="clock" property="dayOfMonth"/>
27<li>  Year: is  <jsp:getProperty name="clock" property="year"/>
28<li>  Month: is  <jsp:getProperty name="clock" property="month"/>
29<li>  Time: is  <jsp:getProperty name="clock" property="time"/>
30<li>  Date: is  <jsp:getProperty name="clock" property="date"/>
31<li>  Day: is  <jsp:getProperty name="clock" property="day"/>
32<li>  Day Of Year: is  <jsp:getProperty name="clock" property="dayOfYear"/>
33<li>  Week Of Year: is  <jsp:getProperty name="clock" property="weekOfYear"/>
34<li>  era: is  <jsp:getProperty name="clock" property="era"/>
35<li>  DST Offset: is  <jsp:getProperty name="clock" property="DSTOffset"/>
36<li>  Zone Offset: is  <jsp:getProperty name="clock" property="zoneOffset"/>
37</ul>
38</font>
39
40</body>
41</html>
Note: See TracBrowser for help on using the repository browser.