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