<%
StringTokenizer token = new StringTokenizer(obj.getAttermdate(),"-");
int year = Integer.parseInt(token.nextToken());
int month = Integer.parseInt(token.nextToken());
int day = Integer.parseInt(token.nextToken());
Calendar date = Calendar.getInstance();
date.set(year,month,day);
Calendar today = Calendar.getInstacne();
if(date.after(today)){%>
"bYellow6"
<%}else{%>
"fRed1"
<%}
%>
--------------------------------------------------------------------------
<%
Date nowDate=new Date();
long nowTime=nowDate.getTime();
long lastTime=obj.getAttermdate().getTime();
long time=nowTime-lastTime;
if(time>(long)60000)
{%>
"bYellow6"
<%}else{%>
"fRed1"
<%}
%>
-----------------------------------------------------------------------------------
<%
Date nowDate=new Date();
if(nowDate.before(obj.getAttermdate()))
{%>
"style2"
<%}else{%>
"style1"
<%}
%>
------------------------------------------------------------------------------------