摘要:
//获取年月,最大日期 SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd"); Calendar cal = Calendar.getInstance(); Date date = format.parse(a); cal.setT 阅读全文
摘要:
Calendar c = Calendar.getInstance(); c.set(Calendar.DAY_OF_MONTH, c.getActualMaximum(Calendar.DAY_OF_MONTH)); System.out.println(format.format(c.getTi 阅读全文