Here you can find the source of getWeekdayNames()
public static String[] getWeekdayNames()
//package com.java2s; /**//from w w w.ja va2 s. com * Copyright (C) 2013 CLXY Studio. * This content is released under the (Link Goes Here) MIT License. * http://en.wikipedia.org/wiki/MIT_License */ import java.text.DateFormatSymbols; import java.util.Arrays; import java.util.Locale; public class Main { public static String[] getWeekdayNames() { DateFormatSymbols symbols = new DateFormatSymbols(Locale.getDefault()); // String[] dayNames = symbols.getShortWeekdays(); String[] dayNames = symbols.getWeekdays(); return Arrays.copyOfRange(dayNames, 1, 7); } }