🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Calcs with date

#8316
From: icsd.jt
Date: Fri, 30 Mar 2001 07:18
9 lines
1267 bytes
Hello
From a date I want to calc the date of the 5 next days :
Madate + 1, Madate +2 ...
I think It was simple but with class Date and/or GregorianCalendar,
add() or madate + x .. are not accepted (Method not found.. with the
imports java.util.GregorianCalendar,java.util.calendar and java.util.date
or run bad : the give me the same date to 01/01/70 )
Please , how to do ?
Thank, Jacques
Technical Details
Message-ID: <3ac4333b_1@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.stealth.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews!193.252.62.57

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,c3bf18884d79d144,start
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-03-29 23:39:39 PST
Reply-To: <icsd.jt@wanadoo.fr>
From: <icsd.jt@wanadoo.fr>
Newsgroups: borland.public.jbuilder.java.language
Subject: Calcs with date
Date: Fri, 30 Mar 2001 09:18:56 +0200
Lines: 12
Organization: ICSD - JaC
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 193.252.62.57
Message-ID: <3ac4333b_1@dnews>
X-Trace: 29 Mar 2001 23:18:19 -0800, 193.252.62.57
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.stealth.net!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews!193.252.62.57