Here you can find the source of getFirstDayOfWeek(int year, int week)
public static Date getFirstDayOfWeek(int year, int week)
//package com.java2s; //License from project: Open Source License import java.util.Calendar; import java.util.Date; import java.util.GregorianCalendar; public class Main { public static Date getFirstDayOfWeek(int year, int week) { Calendar c = new GregorianCalendar(); c.set(Calendar.YEAR, year); c.set(Calendar.MONTH, Calendar.JANUARY); c.set(Calendar.DATE, 1);/*from w w w . j a v a 2s. c om*/ Calendar cal = (GregorianCalendar) c.clone(); cal.add(Calendar.DATE, week * 7); return cal.getTime(); } }