// Programmer: Rance Cleaveland // Date: 11 Oct. 2006 // // This class implements operations on date ranges public class DateRange { private Date start = null; // start date of range private Date end = null; // end date of range // Constructor DateRange (Date start, Date end) { this.start = new Date(start); this.end = new Date(end); } // Default constructor DateRange () { } // access methods Date getStart () { return start; } Date getEnd () { return end; } }