Date
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Tuesday, March 26, 2002 11:20 PM

I would like to know how to look for a day before a specified date. For example, I have a 'Date' object' which holds the date of today. How do I know a day before's date using this object?

Re: Date

Posted By:   Thomas_Hackel  
Posted On:   Wednesday, March 27, 2002 12:12 AM

look in java.util.Calendar and java.util.GregorianCalendar. there are the roll() and add() methods you need...
About | Sitemap | Contact