class YearMonthDateParameterMetadata implements DatedParameterMetadata, ImmutableBean, Serializable {

  public static YearMonthDateParameterMetadata of(LocalDate date, YearMonth yearMonth) {
    ArgChecker.notNull(date, "date");
    ArgChecker.notNull(yearMonth, "yearMonth");
    return new YearMonthDateParameterMetadata(date, yearMonth, yearMonth.format(FORMATTER));
  }

  private  YearMonthDateParameterMetadata(
      LocalDate date,
      YearMonth yearMonth,
      String label);

}