Here you can find the source of getCurrentDayOfWeekEnglish()
Method: get current day of week in English return type String
public static String getCurrentDayOfWeekEnglish()
//package com.java2s; //License from project: Apache License import java.util.Calendar; import java.util.Locale; public class Main { /**/*from w ww . ja v a2 s .co m*/ * <p> * Method: get current day of week in English return type String * </p> * * @return String */ public static String getCurrentDayOfWeekEnglish() { String[] dayOfWeek = { "Sunday", "Monday", "Tuseday", "Wednesday", "Thursday", "Friday", "Saturday" }; return dayOfWeek[getCurrentDayOfWeekArabia() - 1]; } /** * <p> * Method: get current day of week in Arabia return type int * </p> * * @return String */ public static int getCurrentDayOfWeekArabia() { Calendar calendar = Calendar.getInstance(Locale.getDefault()); return calendar.get(Calendar.DAY_OF_WEEK); } }