public boolean after(DtpDate date)
Return true if this date follows the date passed in, and false if this date precedes the data passed in.
DtpDateException
try { DtpDate toDay = new DtpDate(); DtpDate tomorrow = yesterday.addDays(-1); // isAfter should be false. boolean isAfter = yesterday.after(today) } catch ( DtpDateException date_e ) { System.out.println(date_e.getMessage()); }