计算今天为今年的第几周

Calendar   calendar=Calendar.getInstance();  

  int   weekOfYear=calender.get(Calendar.WEEK_OF_YEAR);

你可能感兴趣的:(calendar)