Date

public Date
(int year,
            int month,
            int date)
Deprecated.  As of JDK version 1.1, replaced by Calendar.set(year + 1900, month, date) or GregorianCalendar(year + 1900, month, date) .
Allocates a Date object and initializes it so that it represents midnight, local time, at the beginning of the day specified by the year , month , and date arguments.
Parameters:
year - the year minus 1900.
month - the month between 0-11.
date - the day of the month between 1-31.

相关文章:

  • 2021-10-02
  • 2021-06-29
  • 2021-05-14
  • 2021-06-16
  • 2021-09-19
  • 2021-04-15
猜你喜欢
  • 2021-11-20
  • 2021-07-26
  • 2022-01-31
  • 2021-10-31
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案