Re: newbie...date calculation



I've done it, it is not that hard after all the hard thinking and hard
works.
Thanks for your attention.


"Oliver Wong" <owong@xxxxxxxxxxxxxx> wrote in message
news:86Fjf.135868$S4.64087@xxxxxxxxxxx
>
> "Wandy Tang" <not supply> wrote in message news:438f098c@xxxxxxxxxxxx
>> Hi All,
>>
>> I want to get the date of every Sunday,
>> for example,
>> Today is Dec 1, 2005,
>>
>> Sunday is:
>> Nov 27, 2005 <--start from current week
>> Dec 4, 2005
>> Dec 11, 2005
>> Dec 18, 2005
>> Dec 25, 2006
>> Jan 1, 2006
>> Jan 8, 2006
>> Jan 15, 2006
>> etc...
>>
>> and the value should be in format 20060115 (yyyymmdd)
>>
>> I know there is something have to do with the calender, but I just do not
>> know how to make good use of it...
>> Any help will be appreciated...
>>
>> Thanks in advance.
>
> How did you produce the above list? Write it down as a sequence of
> steps. Translate those steps into Java instructions.
>
> - Oliver
>


.



Relevant Pages

  • Re: Re-sizing Gant ChartPane
    ... you hadn't have drawn my attention to it. ... Ian ... Prev by Date: ...
    (microsoft.public.project.vba)
  • Re: Dutch Rail Question- Can Anyone Help?
    ... Rian van der Borgt, Leuven, Belgium. ... Attention: new e-mail and web address because my provider found it ... Prev by Date: ...
    (uk.railway)
  • Re: BettyJean
    ... in passion. ... It tends to get people's attention. ... Diane Blackman ... Prev by Date: ...
    (rec.pets.dogs.breeds)
  • Re: Properties
    ... Thx for your advices and attention. ... Marcin Goldyn ... Prev by Date: ...
    (comp.lang.java.programmer)
  • [tournament] question about the challange
    ... figured, hey, if this is important I'll be able to see it again. ... or am I screwed because I didn't pay that close of attention? ... Prev by Date: ...
    (rec.games.roguelike.nethack)