Java Week Day getWeekDay()

Here you can find the source of getWeekDay()

Description

get Week Day

License

Open Source License

Declaration

public static String getWeekDay() 

Method Source Code

//package com.java2s;

import java.util.Calendar;

public class Main {
    public static String getWeekDay() {
        int weekDay = Calendar.getInstance().get(Calendar.DAY_OF_WEEK);
        System.out.println(weekDay);
        String weekDay1 = String.valueOf(weekDay);
        return weekDay1;
    }/*from  w  ww.j ava2  s.c  o m*/
}

Related

  1. getThisWeekMonday()
  2. getTodayOfWeek()
  3. getWeek(Date today, int index, String format)
  4. getWeekBeginDay(String date)
  5. GetWeekDay()
  6. getWeekDay()
  7. getWeekday(Date date)
  8. getWeekDay(Date date)
  9. getWeekDay(Date dt, int weekDay)