import java.util.Calendar; Calendar c = Calendar.getInstance();c.get(Calendar.YEAR); Field number for get and set indicating the year.c.get(Calendar.WEEK_OF_YEAR); Field number for get and set indicating the week number within the current year.c.get(Calendar.WEEK_OF_MONTH); Field number for get and set indicating the week number within the current month.
Calendar c = Calendar.getInstance();c.get(Calendar.YEAR);
Field number for get and set indicating the year.c.get(Calendar.WEEK_OF_YEAR);
Field number for get and set indicating the week number within the current year.c.get(Calendar.WEEK_OF_MONTH);
Field number for get and set indicating the week number within the current month.