Article View: borland.public.jbuilder.java.api
Article #3140Re: Which is the problem in: date.getMonth().toString()
From: Carlos Javier Castro Pe�a
Date: Sat, 04 Apr 1998 00:00
Date: Sat, 04 Apr 1998 00:00
10 lines
1028 bytes
1028 bytes
> 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?)
Technical Details
Message-ID:
<35265F7B.9D16E4F@iname.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<35251628.E999AE98@iname.com> <35251697.BFBA6376@iname.com> <352517C9.A4195A07@corp.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,3d3247475eff7b17 X-Google-Attributes: gid1089d0,public From: "Carlos Javier Castro Pe�a" <jcaspen@iname.com> Subject: Re: Which is the problem in: date.getMonth().toString() Date: 1998/04/04 Message-ID: <35265F7B.9D16E4F@iname.com> X-Deja-AN: 340845831 Content-Transfer-Encoding: 7bit References: <35251628.E999AE98@iname.com> <35251697.BFBA6376@iname.com> <352517C9.A4195A07@corp.borland.com> To: Rich Wilkman <rwilkman@corp.borland.com> Content-Type: text/plain; charset=us-ascii Organization: Univerity of Kansas Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.api