Get StartWeek, EndWeek in calendar java
public class JavaClass { public static void main(String[] args) { Calendar mCalendar = Calendar.getInstance(); //Case 1: 02/11/2017 mCalendar.set(Calendar.YEAR, 2017); mCalendar.set(Calendar.MONTH, Calendar.NOVEMBER); mCalendar.set(Calendar.DAY_OF_MONTH, 2); getStartWeekEndWeek(mCalendar); //Case... Xem thêm