Java Date Create date(int year, int month, int date)

Here you can find the source of date(int year, int month, int date)

Description

date

License

Open Source License

Declaration

public static Date date(int year, int month, int date) 

Method Source Code

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

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

public class Main {
    public static Date date(int year, int month, int date) {
        Calendar working = GregorianCalendar.getInstance();
        working.set(year, month, date, 0, 0, 1);
        return working.getTime();
    }//w w w  .  ja  va  2s .com
}

Related

  1. date()
  2. date(Date d)
  3. date(final int year, final int month, final int dayOfMonth)
  4. date(int day, int month, int year)
  5. date(int y, int m, int d)
  6. date(int year, int month, int day)
  7. date(int year, int month, int day)
  8. date(int year, int month, int day)
  9. date(int year, int month, int day)