### Question:
SummarizerUtils { public static String dateRange(LocalDate start, LocalDate end) { return date(start) + "-" + date(end); } private  SummarizerUtils(); static String date(LocalDate date); static String dateRange(LocalDate start, LocalDate end); static String datePeriod(LocalDate start, LocalDate end); static String amount(CurrencyAmount currencyAmount); static String amount(Currency currency, double value); static String value(double value); static String percent(double value); static String payReceive(PayReceive payReceive); static String fx(CurrencyAmount base, CurrencyAmount counter); static PortfolioItemSummary summary(Position position, ProductType type, String description, Currency... currencies); static PortfolioItemSummary summary(Trade trade, ProductType type, String description, Currency... currencies);  }### Answer:
@Test public void test_dateRange() { assertThat(SummarizerUtils.dateRange(LocalDate.of(2017, 10, 12), LocalDate.of(2019, 12, 12))).isEqualTo("12Oct17-12Dec19"); }