摘要:
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( 阅读全文