🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.api
Article #3141

Re: Which is the problem in: date.getMonth().toString()

#3141
From: Rich Wilkman
Date: Sat, 04 Apr 1998 00:00
37 lines
1856 bytes
Carlos:

Deprecation means "support for this item may disappear in the
future".  Usually it's a method that gets deprecated, but in this case
an entire class got deprecated.  Sun wants you to use Calendar and
it's children instead of Date, but that class has it's own set of bugs
<g>.

-Rich

Carlos Javier Castro Pe�a wrote:
> 
> > getDay() and all the other "useful" methods in Date return int and not
> > Integer.  To make an int a String you do String.valueOf(int) instead
> > of the .toString() you are using.
> Thanks!
> 
> > The deprecation warning comes because the *entire* Date class has been
> > deprecated in 1.1
> What is 'deprecation' ? (or what means that a class has been
> deprecated?)

-- 

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Rich Wilkman
Senior Quality Assurance Engineer
Borland JBuilder Team

If you see something that looks like an opinion up there,
it's mine and mine alone.

Mail sent to me from the newsgroups won't bounce but will
be ignored.  If I have time, I'll respond, but you  have
a better chance if you confine your posts to the newsgroups
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Technical Details
Message-ID: <352664EB.D153CE65@corp.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <35251628.E999AE98@iname.com> <35251697.BFBA6376@iname.com> <352517C9.A4195A07@corp.borland.com> <35265F7B.9D16E4F@iname.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: 1089d0,3d3247475eff7b17
X-Google-Attributes: gid1089d0,public
From: Rich Wilkman <rwilkman@corp.borland.com>
Subject: Re: Which is the problem in: date.getMonth().toString()
Date: 1998/04/04
Message-ID: <352664EB.D153CE65@corp.borland.com>
X-Deja-AN: 340849999
Content-Transfer-Encoding: 8bit
References: <35251628.E999AE98@iname.com> <35251697.BFBA6376@iname.com> <352517C9.A4195A07@corp.borland.com> <35265F7B.9D16E4F@iname.com>
Content-Type: text/plain; charset=iso-8859-1
Organization: Another Netscape Collabra Server User
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.api