docs: public int compareTo(Field field)
      {
          if (field instanceof BaseField) if (!this.isSameType((BaseField)field))
              return super.compareTo(field);
          m_calendar.set(DBConstants.FIRST_YEAR, Calendar.JANUARY, 1, 0, 0, 0);
          java.util.Date dateSmall = m_calendar.getTime();
          java.util.Date time1 = dateSmall;
          java.util.Date time2 = dateSmall;
          java.util.Date dateValue = (java.util.Date)this.getData();  // Get the physical data
          if (dateValue != null)
              time1 = dateValue;
          dateValue = (java.util.Date)field.getData();    // Get the physical data
          if (dateValue != null)
              time2 = dateValue;
          return time1.compareTo(time2);
      }