get names of Week Days - Android java.util

Android examples for java.util:Week

Description

get names of Week Days

Demo Code

import android.content.Context;
import android.text.format.DateUtils;
import java.text.DateFormatSymbols;
import java.util.Calendar;

public class Main{

    public static String[] getWeekDays() {
        return new DateFormatSymbols().getWeekdays();
    }/*from   w w w  .j  a  va2  s .  c o  m*/

}

Related Tutorials