%@ page language = "Java" contentType = "text/html;charset = shift_jis" import = "yoyakuBeans.*"%>
Beansのテスト
日付(MyDateクラス)のテスト
今日は<%= now.toDispFormat() %>
<%
now.moveDate(1); //明日
%>
明日は<%= now.toDispFormat() %>
<%
now.moveDate(7); //来週
%>
その来週は<%= now.toDispFormat() %>
<%
now.moveDate(-7); //来週
%>
その先週は<%= now.toDispFormat() %>
<%
now.moveDate(-1); //明日
%>
その昨日は<%= now.toDispFormat() %>
今日に戻ってきました
<%
now.moveDate(-1); //明日
%>
そのまた昨日は<%= now.toDispFormat() %>
<%
user.setDate(now);
user.setUserID(new String(user.getUserID().getBytes("iso8859-1"), "JISAutoDetect"));
%>
ユーザ情報(UserInformationクラス)の確認
ID:
password:<%= user.getPassword() %>
E-mail:<%= user.getEmail() %>
日付:<%= user.getDate().toDispFormat %>