code: public static DateLabel forDate(String id, Date date) {
          return DateLabel.forDatePattern(id, new Model<Date>(date), DATE_PATTERN);
      }
docs: Creates a label which displays date only (year, month, day).
  
  @param id    component id
  @param date    date to display
  @return date label