Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail From: Lew Newsgroups: comp.lang.java.programmer Subject: Re: Converting a Date Object to a GregorianCalendar Object Date: Sun, 26 Jun 2011 14:06:16 -0400 Organization: albasani.net Lines: 19 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.albasani.net 4b+d5ZzCnQNTy2Hb4hwWIS5Tz2NSd7pZQ4yEreL47YqT9s+wzWe3eqPdfEdtAQHuJpAoXcwoq7mbNqTUSW40j7ji5cbID9soZ9Ua+8IkFD2agef780/sTKH1u2uTSrxd NNTP-Posting-Date: Sun, 26 Jun 2011 18:06:11 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="933soaPmpEULVrjKFdepJlrW95vOcdqByX36dYGvdvYSc02vg9s4ebFLD5HcsAUbQz+uXbXLWm/CgnFz4D8DvAp7DPICw1NCAYmIl+wN5z8F06cSbfBudV2IK2/vOr6l"; mail-complaints-to="abuse@albasani.net" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10 In-Reply-To: Cancel-Lock: sha1:SYjkeNXqiTbU56V0EjX4nCdTolw= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:5683 On 06/25/2011 05:29 PM, KevinSimonson wrote: > On Jun 24, 6:43 pm, Jeff Higgins wrote: >> On 06/24/2011 07:54 PM, KevinSimonson wrote: >> >>> I can go from a GregorianCalendar object to a Date object with the >>> method getTime(). Is there any way to go from a Date object to a >>> GregorianCalendar object? >> >> Calender.setTime(Date date)? > > Thanks! This worked just fine! Learn to use the API docs. -- Lew Honi soit qui mal y pense. http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg