/** * PIMDateable interface is implemented by all PIMEntitys that * include dates (Todos and appointments). * * the interface here relies on the java.util.Date object. * In many instances you will need to convert to/from Calendar objects * to mess with dates, but since a Date represents a specific instant in time * it is appropriate to use this representation here (and not have PIMDateable * be based on the Calendar objects that are often used to mess with date fields). * */ import java.util.*; public interface PIMDateable { public Date getDate(); public void setDate(Date d); }