🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: time and date classes

#8031
From: Torsten Welches
Date: Sat, 28 Apr 2001 08:47
8 lines
1137 bytes
Dave Cullen schrieb in Nachricht <3ae9cd82_1@dnews>...
>But how do I get a GregorianCalendar object to update? Seems that
>myCalendar.get(Calendar.SECONDS) only returns the value at the moment that
>the object was created.

myCalendar.setTime(new Date());

Torsten
Technical Details
Message-ID: <3aea82ea$2_2@dnews>
Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews
References: <3ae9bac9$1_1@dnews> <3ae9cd82_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,bbd9694ac963e101
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-04-28 02:12:07 PST
From: "Torsten Welches" <torsten.welches@who.cares.netcologne.de>
Newsgroups: borland.public.jbuilder.java.language
References: <3ae9bac9$1_1@dnews> <3ae9cd82_1@dnews>
Subject: Re: time and date classes
Date: Sat, 28 Apr 2001 10:47:30 +0200
Lines: 10
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
X-MIMEOLE: Produced By Microsoft MimeOLE V4.72.3110.3
NNTP-Posting-Host: 195.14.226.79
Message-ID: <3aea82ea$2_2@dnews>
X-Trace: dnews 988447466 195.14.226.79 (28 Apr 2001 01:44:26 -0700)
Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews