Java Date Start getStartDateOfCurrMonth()

Here you can find the source of getStartDateOfCurrMonth()

Description

get Start Date Of Curr Month

License

Open Source License

Declaration

public static Date getStartDateOfCurrMonth() 

Method Source Code

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

import java.util.Calendar;
import java.util.Date;

public class Main {
    public static Date getStartDateOfCurrMonth() {
        Calendar now = Calendar.getInstance();
        now.set(now.get(Calendar.YEAR), now.get(Calendar.MONTH), 1);
        return now.getTime();
    }/*from  w w  w  .j  a v a  2  s.  c  om*/
}

Related

  1. getStartDate(Date date)
  2. getStartDate(Date date)
  3. getStartDate(Date date)
  4. getStartDate(String date)
  5. getStartDateOfCurrentSemester()
  6. getStartDay(Date date)
  7. getStartDayOfNextMonth(Date date)
  8. getStartOfDate(final Date date)
  9. getStartOfDay(Date date)