Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / December 2005

Tip: Looking for answers? Try searching our database.

newbie...date calculation

Thread view: 
Wandy Tang - 01 Dec 2005 14:32 GMT
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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.