🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Date/Calendar trouble

#17760
From: Hubert A. Klein Ikkink
Date: Tue, 29 Sep 1998 00:00
18 lines
1212 bytes
The Date and Calendar classes start counting from 0 to 11 for months. You have
to keep this in mind when you are programming with these classes.
--
Groetjes,

  Hubert A. Klein Ikkink, aka Mr.Haki
  E-mail:  hubertk@worldonline.nl
  Website: http://www.drbob42.com/jbuilder

"Nicolas St�phane" wrote:

> i'encountered some troubles while instanciating java.util.Date and Calendar:
> when debugging,JB2 told me : my date.month (field#2) was 08 although NT4.0
> tells my
> system date.month is 09.
>
> I hope you'll understand what i mean :)  and reply me,
> thanks in advance
Technical Details
Message-ID: <36115496.BF4DF71@worldonline.nl>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6uqum8$f4e$1@platane.wanadoo.fr>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f74b3,533038a7f878331
X-Google-Attributes: gidf74b3,public
From: "Hubert A. Klein Ikkink" <hubertk@worldonline.nl>
Subject: Re: Date/Calendar trouble
Date: 1998/09/29
Message-ID: <36115496.BF4DF71@worldonline.nl>
X-Deja-AN: 396103389
Content-Transfer-Encoding: 8bit
References: <6uqum8$f4e$1@platane.wanadoo.fr>
To: Nicolas Stéphane <snicolas@alta-informatique.fr>
X-Accept-Language: en
Content-Type: text/plain; charset=iso-8859-1
Organization: www.drbob42.com
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language