Ta上传的资源 (0)

Calendarcal=Calendar.getInstance();cal.setTime(newDate());intyear=cal.get(Calendar.YEAR);//获取年份intmonth=cal.get(Calendar.MONTH);//获取月份intday=cal.get(C