Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #5661

Re: Converting a Date Object to a GregorianCalendar Object

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
From Jeff Higgins <jeff@invalid.invalid>
Newsgroups comp.lang.java.programmer
Subject Re: Converting a Date Object to a GregorianCalendar Object
Date Fri, 24 Jun 2011 20:43:41 -0400
Organization A noiseless patient Spider
Lines 6
Message-ID <iu3ami$fab$1@dont-email.me> (permalink)
References <c6a540ee-ff95-44b7-ab7e-61428d961a15@r33g2000prh.googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Sat, 25 Jun 2011 00:38:42 +0000 (UTC)
Injection-Info mx04.eternal-september.org; posting-host="uZlcKoxCDvYxlcrl0EM5vQ"; logging-data="15691"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19JaLppAAooA+0/vKpfpJB+tpY8ara1L7Q="
User-Agent Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11
In-Reply-To <c6a540ee-ff95-44b7-ab7e-61428d961a15@r33g2000prh.googlegroups.com>
Cancel-Lock sha1:NE5i7D++eNNm6HsyZBBXw0QvaBY=
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:5661

Show key headers only | View raw


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)?

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Converting a Date Object to a GregorianCalendar Object KevinSimonson <kvnsmnsn@hotmail.com> - 2011-06-24 16:54 -0700
  Re: Converting a Date Object to a GregorianCalendar Object Jeff Higgins <jeff@invalid.invalid> - 2011-06-24 20:43 -0400
    Re: Converting a Date Object to a GregorianCalendar Object KevinSimonson <kvnsmnsn@hotmail.com> - 2011-06-25 14:29 -0700
      Re: Converting a Date Object to a GregorianCalendar Object Lew <noone@lewscanon.com> - 2011-06-26 14:06 -0400
  Re: Converting a Date Object to a GregorianCalendar Object Roedy Green <see_website@mindprod.com.invalid> - 2011-06-24 18:35 -0700
    Re: Converting a Date Object to a GregorianCalendar Object Dr J R Stockton <reply1126@merlyn.demon.co.uk> - 2011-06-27 21:36 +0100
      Re: Converting a Date Object to a GregorianCalendar Object Lew <noone@lewscanon.com> - 2011-06-27 19:38 -0400

csiph-web