class CalendarDate implements Comparable<CalendarDate> {

  @Override
  public boolean equals(Object o) {
    if (this == o)
      return true;
    if (!(o instanceof CalendarDate))
      return false;
    CalendarDate other = (CalendarDate) o;
    return other.cal == cal && other.dateTime.equals(dateTime);
  }

    CalendarDate(Calendar cal, DateTime dateTime);

}