🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #19124

setHours on java.sql.Date throws an IllegalArguementException

#19124
From: Abraham Kang
Date: Mon, 09 Mar 1998 00:00
10 lines
853 bytes
Hi EveryOne,
    Does anyone know why the setHours and setMinutes methods in the
java.sql.Date class throw IllegalArguementExceptions?  I am trying to
compare a user entered date and time to the current date and see if it
is within a 24 hour period.

Any help would be appreciated,
ABE
abraham.kang@cnalife.com
Technical Details
Message-ID: <35041143.DB158786@cnalife.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,19558f66237524fc,start
X-Google-Attributes: gidf74b3,public
From: Abraham Kang <abraham.kang@cnalife.com>
Subject: setHours on java.sql.Date throws an IllegalArguementException
Date: 1998/03/09
Message-ID: <35041143.DB158786@cnalife.com>
X-Deja-AN: 332293609
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language