List of utility methods to do Week of Year Get
int | getWeekOfYear(String year, String month, String day) get Week Of Year Calendar cal = new GregorianCalendar(); cal.clear(); cal.set(new Integer(year).intValue(), new Integer(month).intValue() - 1, new Integer(day).intValue()); return cal.get(Calendar.WEEK_OF_YEAR); |
int | getWeekOfYear(String year, String month, String day) get Week Of Year Calendar cal = new GregorianCalendar(); cal.clear(); cal.set(Integer.valueOf(year).intValue(), Integer.valueOf(month) .intValue() - 1, Integer.valueOf(day).intValue()); return cal.get(Calendar.WEEK_OF_YEAR); |