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

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

Description

create Date

License

Apache License

Declaration

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

Method Source Code

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

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

public class Main {
    public static Date createDate(int year, int month, int date) {
        Calendar calendar = Calendar.getInstance();
        calendar.set(year, month, date);
        return calendar.getTime();
    }/*from   w  w  w.  j a v a2s .c  om*/
}

Related

  1. createDate(final int yyyy, final int month, final int day)
  2. createDate(int month, int day)
  3. createDate(int year, int month, int date)
  4. createDate(int year, int month, int date)
  5. createDate(int year, int month, int date)
  6. createDate(int year, int month, int day)
  7. createDate(int year, int month, int day)
  8. createDate(int year, int month, int day)
  9. createDate(int year, int month, int day)