Java Month Day isFirstDayOfMonth()

Here you can find the source of isFirstDayOfMonth()

Description

is First Day Of Month

License

Open Source License

Declaration

public static boolean isFirstDayOfMonth() 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.util.*;

public class Main {
    public static boolean isFirstDayOfMonth() {
        Calendar calendar = Calendar.getInstance();
        return calendar.get(Calendar.DAY_OF_MONTH) == 1;
    }/*from  www .j av  a  2 s  .com*/
}

Related

  1. getMonthWeek(String curday)
  2. getPreviosMonthFirstDay()
  3. getShortFirstDayOfMonth()
  4. getStringOfFirstDayInMonth()
  5. getStringOfFirstDayInMonth()
  6. isLastDayOfMonth()
  7. isLastDayOfMonth(Calendar cal)
  8. lastDayOfLastMonth()
  9. lastdayofmonth()