Java tutorial
//package com.java2s; import java.util.Calendar; public class Main { public static int getMonth(int year, int week) { Calendar calendar = Calendar.getInstance(); calendar.clear(); calendar.set(Calendar.YEAR, year); calendar.set(Calendar.WEEK_OF_YEAR, week); return calendar.get(Calendar.MONTH) + 1; } }