code: public int setCalendar(Calendar value, boolean bDisplayOption, int moveMode)
      {           // Set this field's value
          if (value != null)
          {
              value.set(Calendar.HOUR_OF_DAY, 0);
              value.set(Calendar.MINUTE, 0);
              value.set(Calendar.SECOND, 0);
              value.set(Calendar.MILLISECOND, 0);
          }
          return super.setCalendar(value, bDisplayOption, moveMode);
      }
docs: SetValue in current calendar.
  @param value The date (as a calendar value) to set (only date portion is used).
  @param bDisplayOption Display changed fields if true.
  @param iMoveMode The move mode.
  @return The error code (or NORMAL_RETURN).