public static Date stripTime(Date date, TimeZone zone, Locale locale) {
    if (date == null)
      return null;
    Calendar tmpCalendar = Calendar.getInstance(zone, locale);
    tmpCalendar.setTime(date);
    tmpCalendar.set(Calendar.HOUR_OF_DAY, tmpCalendar
        .getMinimum(Calendar.HOUR_OF_DAY));
    tmpCalendar.set(Calendar.MINUTE, tmpCalendar
        .getMinimum(Calendar.MINUTE));
    tmpCalendar.set(Calendar.SECOND, tmpCalendar
        .getMinimum(Calendar.SECOND));
    tmpCalendar.set(Calendar.MILLISECOND, tmpCalendar
        .getMinimum(Calendar.MILLISECOND));
    return tmpCalendar.getTime();
  }
public static Date stripTime(Date date, TimeZone zone, Locale locale)