Java Week Day getCurrentDayOfWeekArabia()

Here you can find the source of getCurrentDayOfWeekArabia()

Description

Method: get current day of week in Arabia return type int

License

Apache License

Return

String

Declaration

public static int getCurrentDayOfWeekArabia() 

Method Source Code

//package com.java2s;
//License from project: Apache License 

import java.util.Calendar;

import java.util.Locale;

public class Main {
    /**/*w ww.  j a v  a 2  s  .c om*/
     * <p>
     * Method: get current day of week in Arabia return type int
     * </p>
     * 
     * @return String
     */
    public static int getCurrentDayOfWeekArabia() {
        Calendar calendar = Calendar.getInstance(Locale.getDefault());
        return calendar.get(Calendar.DAY_OF_WEEK);
    }
}

Related

  1. dayOfWeekFix(Calendar calendar)
  2. dayOfWeekRus(Date d)
  3. firstDayOfWeek(int year, int month)
  4. getAPastDayOfTheWeek(String dayToGet)
  5. getBothDayOfWeek(String str, int week)
  6. getCurrentDayOfWeekEnglish()
  7. getCurWeek(String day)
  8. getCurWeekDayByStr(String curday)
  9. getCurWeekDayByStr(String curday)