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.
Regards,
Wandy
Oliver Wong - 01 Dec 2005 16:00 GMT
> Hi All,
>
[quoted text clipped - 20 lines]
>
> 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
Wandy Tang - 03 Dec 2005 12:32 GMT
I've done it, it is not that hard after all the hard thinking and hard
works.
Thanks for your attention.
>> Hi All,
>>
[quoted text clipped - 25 lines]
>
> - Oliver