Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   Java (http://www.programmingforums.org/forum17.html)
-   -   use gregorian calendar to do something after a month (http://www.programmingforums.org/showthread.php?t=15247)

hassan Feb 23rd, 2008 5:34 PM

use gregorian calendar to do something after a month
 
Hi guys, In my code, I've opened an account, and in another class (which I've used extend on), after a month of opening that account, I want to add a number to a number that was stored in a variable in a different class. Can you tell me how to store a time of opening an account, and then in a seperate class, how to do something a month after that account was opened?

Thanks

Btw. I'm using the gregorian calendar

Grich Feb 24th, 2008 1:16 AM

Re: use gregorian calendar to do something after a month
 
Could I see the code, it may help.

crawforddavid2006 Feb 25th, 2008 4:56 PM

Re: use gregorian calendar to do something after a month
 
Agreed, could we see some code, and we should be able to help you.

Grich Feb 25th, 2008 5:14 PM

Re: use gregorian calendar to do something after a month
 
I think he's gone.

mrynit Feb 25th, 2008 6:15 PM

Re: use gregorian calendar to do something after a month
 
you can look at the API. you just use a method to get the date and have a setter to sotre the value in a instance field.


All times are GMT -5. The time now is 4:24 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC