Here you can find the source of getENWeekDay()
public static String getENWeekDay()
//package com.java2s; //License from project: Apache License import java.util.Calendar; import java.util.Date; public class Main { private static final String[] WEEKDAYS_EN = { "sunday", "monday", "tuesday", "wednesday", "thursday", "friday", "saturday" }; public static String getENWeekDay() { Calendar cal = Calendar.getInstance(); cal.setTime(new Date()); int w = cal.get(Calendar.DAY_OF_WEEK) - 1; if (w < 0) w = 0;/*from ww w. j av a 2 s . c om*/ return WEEKDAYS_EN[w]; } }