[quote]
Calendar d=Calendar.getInstance();
Calendar c=Calendar.getInstance();
c.setTime(bean.getDakatime());
Date now=new Date();
d.setTime(now);
if(d.get(Calendar.DAY_OF_MONTH)==1||d.get(Calendar.DAY_OF_MONTH)==2||d.get(Calendar.DAY_OF_MONTH)==3){
if(bean.getDakanum()>=18){
return "success2";
}
}
if((c.get(Calendar.MONTH))!=d.get(Calendar.MONTH)){
wapDaka.dakatozero(mobile);
}
[/quote]
Calendar d=Calendar.getInstance();
Calendar c=Calendar.getInstance();
c.setTime(bean.getDakatime());
Date now=new Date();
d.setTime(now);
if(d.get(Calendar.DAY_OF_MONTH)==1||d.get(Calendar.DAY_OF_MONTH)==2||d.get(Calendar.DAY_OF_MONTH)==3){
if(bean.getDakanum()>=18){
return "success2";
}
}
if((c.get(Calendar.MONTH))!=d.get(Calendar.MONTH)){
wapDaka.dakatozero(mobile);
}
[/quote]