摘要: Calendar now = Calendar.getInstance(); int curtYear = now.get(Calendar.YEAR); now.set(curtYear, 0, 1); Date first_day_month1_year = now.getTime();// 每年1月第一天 now.set(curtYear, 1, 1); Date first_day_month2_year = now.getTime();// 每年2月第一天 if (today.before(first_day_month2_year) && (today.after( 阅读全文
posted @ 2009-01-06 11:02 ethanwoo 阅读(139) 评论(0) 推荐(0) 编辑