Re: newbie...date calculation
- From: "Wandy Tang" <not supply>
- Date: Sat, 3 Dec 2005 20:32:52 +0800
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
>
.
- References:
- newbie...date calculation
- From: Wandy Tang
- Re: newbie...date calculation
- From: Oliver Wong
- newbie...date calculation
- Prev by Date: Re: newbie...date calculation
- Next by Date: Wanted: AWT grid
- Previous by thread: Re: newbie...date calculation
- Next by thread: Wanted: AWT grid
- Index(es):
Relevant Pages
|
|