This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes calculate dates Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "calculate dates" Watch "calculate dates" New topic
Author

calculate dates

bs vest
Greenhorn

Joined: Apr 09, 2008
Posts: 5
I want to have two dates on a midletprogram.
The day of Today and a day 35 days back.
Which way is the EASIAST way to subtract 35 days from today.
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 20077
    
  30

java.util.Calendar

Check its API.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Katrina Owen
Sheriff

Joined: Nov 03, 2006
Posts: 1367
    
  18
Hi bsv,

Please check your private messages for a message from the staff.

Thanks,
Katrina
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: calculate dates
 
jQuery in Action, 3rd edition