Article View: borland.public.jbuilder.java.language
Article #17244Re: Calendar question
From: Hubert A. Klein Ikkink
Date: Sat, 21 Nov 1998 00:00
Date: Sat, 21 Nov 1998 00:00
21 lines
1193 bytes
1193 bytes
Hi Jonathan, you can write your own method to do this, and use the GregorianCalendar.isLeapYear() method to determine if February has 28 or 29 days. -- Groetjes, Hubert A. Klein Ikkink, aka Mr.Haki E-mail: hubertk@worldonline.nl Website: http://www.drbob42.com/jbuilder Jonathan wrote: > I am trying to find a method for finding how many days there are in a > particular month of a particular year. Although this can be hard coded, the > problem arises with a leap year, so i need a method for determining a months > length in relation to a year, > > can anyone help? > > Jonathan
Technical Details
Message-ID:
<36567ABB.1002058D@worldonline.nl>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<733h3u$svi6@forums.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,788637f83097e2cd X-Google-Attributes: gidf74b3,public From: "Hubert A. Klein Ikkink" <hubertk@worldonline.nl> Subject: Re: Calendar question Date: 1998/11/21 Message-ID: <36567ABB.1002058D@worldonline.nl> X-Deja-AN: 414149834 Content-Transfer-Encoding: 7bit References: <733h3u$svi6@forums.borland.com> To: Jonathan <plaskowj@logica.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: www.drbob42.com Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language