1 关于判断:
"已经审核".equals(mark); ["正确形式"]
mark.equals("已经审核"); ["错误形式"] 可能引起空指针异常
2 日期
当new date().gettime();不能满足你的时候,可以试试
<span style="font-family: simsun; font-size: medium;"></span>
<p style="display: inline !important;">3 copy文件的例子
"已经审核".equals(mark); ["正确形式"]
mark.equals("已经审核"); ["错误形式"] 可能引起空指针异常
2 日期
当new date().gettime();不能满足你的时候,可以试试
<span style="font-family: simsun; font-size: medium;"></span>
calendar a=calendar.getinstance();
a.set(calendar.hour_of_day, 0); a.set(calendar.minute, 0); a.set(calendar.second, 0); a.set(calendar.millisecond, 0);
<p style="display: inline !important;">3 copy文件的例子