Java Week Day dayOfWeek()

Here you can find the source of dayOfWeek()

Description

day Of Week

License

Apache License

Declaration

public static int dayOfWeek() 

Method Source Code

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

import java.util.GregorianCalendar;

public class Main {

    public static int dayOfWeek() {
        GregorianCalendar g = new GregorianCalendar();
        int ret = g.get(java.util.Calendar.DAY_OF_WEEK);
        g = null;//from   w w w. ja v a2 s . c o  m
        return ret;
    }
}

Related

  1. addMonthToFirstDayOfWeek(Calendar c, int dayOfWeek, int monthInterval)
  2. calculateFloatingHoliday(int nth, int dayOfWeek, int year, int month)
  3. dayOfWeek(Date pWallDate)
  4. dayOfWeek(final Date date)
  5. dayOfWeek(String pFormerStr)
  6. dayOfWeekFix(Calendar calendar)