🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: cn.bbs.comp.lang.java
Article #21440

Re: ���java.sql.Date���÷�

#21440
From: fool
Date: Tue, 02 Dec 2003 14:45
23 lines
1633 bytes
setHours
public void setHours(int i)
Deprecated.
This method is deprecated and should not be used because SQL Date values do 
not have a time component.
Overrides:setHours in class Date
Parameters:i - the hour value.
Throws: IllegalArgumentException - if this method is invoked

�� �� ariel (Ariel) �Ĵ������ᵽ: ��
: 
: Ҫ����һ����ʾ�ꡢ�¡��ա�ʱ���֡����ʱ�䣬��Date�Ĺ��췽��ֻ��������
: new Date(int year,int month,int day)
: new Date(long    )
: 
: ���ǣ�д�����´��룺
: Date date=new (int  ,int  ,int);
: date.setHour(int);
: date.setMinitues(int);
: date.setSeconds(int);
: .................������ʡ�ԣ�
--
�� ��Դ:����ˮ˼Դ bbs.sjtu.edu.cn��[FROM: 202.120.53.34]
Technical Details
Message-ID: <49UT1M$9mS@bbs.sjtu.edu.cn>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!news-xfer2.atl.newshosting.com!yellow.newsread.com!netaxs.com!newsread.com!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!news.ccie.net.cn!SJTU

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,GB
X-Google-Thread: f6cb0,50badfe1c8462a5d,start
X-Google-Attributes: gidf6cb0,public
X-Google-ArrivalTime: 2003-12-02 06:45:55 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshosting.com!news-xfer2.atl.newshosting.com!yellow.newsread.com!netaxs.com!newsread.com!feed2.newsreader.com!newsreader.com!maily.cic.tsinghua.edu.cn!news.ccie.net.cn!SJTU
From: tutufool.bbs@bbs.sjtu.edu.cn (fool)
Newsgroups: cn.bbs.comp.lang.java
Subject: Re: ���java.sql.Date���÷�
Date: 02 Dec 2003 14:45:35 GMT
Organization: ��ˮ˼Դ
Message-ID: <49UT1M$9mS@bbs.sjtu.edu.cn>
Mime-Version: 1.0
Content-Type: text/plain; charset="gb2312"
Content-Transfer-Encoding: 8bit
X-Filename: Java/M.1070376262.A