Android Day of Week Get getStringDayOfWeek(Date date)

Here you can find the source of getStringDayOfWeek(Date date)

Description

get String Day Of Week

Declaration

public static String getStringDayOfWeek(Date date) 

Method Source Code

//package com.java2s;
import java.text.SimpleDateFormat;

import java.util.Date;

public class Main {
    public static String getStringDayOfWeek(Date date) {
        SimpleDateFormat sdf = new SimpleDateFormat("EEEEE");
        return sdf.format(date);
    }/*from w  w w. j a v  a 2s  .  c  om*/
}

Related

  1. getDayOfWeek(Date date)
  2. getFirstDayOfWeek()
  3. getDayOfTheWeek(Date date)
  4. getDayOfWeekZeroIndexed(Date dateTime)
  5. getReadableWeekDay(int day)
  6. getDayOfWeek(String format, int calendarField)
  7. getDayOfWeek(String format, int calendarField)
  8. getFirstDayOfWeek(String format)
  9. getFirstDayOfWeek(String format)