You cannot apply the + or - operators directly to Objects (with the special case of the
String class). But you
can apply them to primative
long values. Now you just need a way of getting the long value (i.e. the number of milliseconds since the epoch) that your Date objects encapsulates. If you read the JavaDocs for the Date class,
you should be able to spot how to do that.