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