java.sql.date manipulation without depricated

Hi , let's say i have an instance of a java.sql.date and i want to generate two new instances of java.sql.date when one is exactly 1 month earlier and the same is the following without using the deprecated methods , what is the best way ?thanks in advace.
[277 byte] By [Kernel_77a] at [2007-11-27 9:00:18]
# 1
using class calendar?
calvino_inda at 2007-7-12 21:28:47 > top of Java-index,Java Essentials,Java Programming...
# 2
but then i have to use the deprecated methods to getyear getmonth getday there's no calendar(date.gettime()) ...
Kernel_77a at 2007-7-12 21:28:48 > top of Java-index,Java Essentials,Java Programming...
# 3
Use java.util.Calendar for the arithmetics, then create a new java.sql.Date with that information.-Puce
Pucea at 2007-7-12 21:28:48 > top of Java-index,Java Essentials,Java Programming...
# 4
> but then i have to use the deprecated methods to> getyear getmonth getday > there's no calendar(date.gettime()) ...There's a setTime-method.-Puce
Pucea at 2007-7-12 21:28:48 > top of Java-index,Java Essentials,Java Programming...
# 5
/Dah :) you the man Puce .
Kernel_77a at 2007-7-12 21:28:48 > top of Java-index,Java Essentials,Java Programming...