Android Utililty Methods Week of Year Get

List of utility methods to do Week of Year Get

Description

The list of methods to do Week of Year Get are organized into topic(s).

Method

intgetWeekOfYear(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);
intgetWeekOfYear(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);