`
omygege
  • 浏览: 1352862 次
文章分类
社区版块
存档分类
最新评论

j2se java.sql.Date

 
阅读更多

Date

public Date
(intyear,
            intmonth,
            intdate)
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.
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics