blob: c7eb8d5b347a5a4c5f4d7386fa712e7fcb9792c6 [file] [log] [blame]
Hongqing Liufd5ee812014-05-10 16:32:51 +08001<html><body><pre>
刘洪青6266f992017-05-15 21:21:03 +08002&lt;%--
Hongqing Liufd5ee812014-05-10 16:32:51 +08003 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.
刘洪青6266f992017-05-15 21:21:03 +080017--%>
18&lt;html>
Hongqing Liufd5ee812014-05-10 16:32:51 +080019
20&lt;%@ page session="false"%>
21
22&lt;body bgcolor="white">
23&lt;jsp:useBean id='clock' scope='page' class='dates.JspCalendar' type="dates.JspCalendar" />
24
25&lt;font size=4>
26&lt;ul>
刘洪青6266f992017-05-15 21:21:03 +080027&lt;li> Day of month: is &lt;jsp:getProperty name="clock" property="dayOfMonth"/>
28&lt;li> Year: is &lt;jsp:getProperty name="clock" property="year"/>
29&lt;li> Month: is &lt;jsp:getProperty name="clock" property="month"/>
30&lt;li> Time: is &lt;jsp:getProperty name="clock" property="time"/>
31&lt;li> Date: is &lt;jsp:getProperty name="clock" property="date"/>
32&lt;li> Day: is &lt;jsp:getProperty name="clock" property="day"/>
33&lt;li> Day Of Year: is &lt;jsp:getProperty name="clock" property="dayOfYear"/>
34&lt;li> Week Of Year: is &lt;jsp:getProperty name="clock" property="weekOfYear"/>
35&lt;li> era: is &lt;jsp:getProperty name="clock" property="era"/>
36&lt;li> DST Offset: is &lt;jsp:getProperty name="clock" property="DSTOffset"/>
37&lt;li> Zone Offset: is &lt;jsp:getProperty name="clock" property="zoneOffset"/>
Hongqing Liufd5ee812014-05-10 16:32:51 +080038&lt;/ul>
39&lt;/font>
40
41&lt;/body>
42&lt;/html>
43</pre></body></html>