Java tutorial
//package com.java2s; //License from project: Apache License import java.util.Calendar; import java.util.GregorianCalendar; import java.util.Locale; public class Main { public static int dayOfMonth() { return calendar().get(Calendar.DAY_OF_MONTH); } public static Calendar calendar() { Calendar cal = GregorianCalendar.getInstance(Locale.CHINESE); cal.setFirstDayOfWeek(Calendar.MONDAY); return cal; } }