### Question:
DateUtil { public static DateTime parseYearMonthUTC(String dateString) { String firstInRange = splitPossibleRange(dateString); return ISODateTimeFormat.yearMonth().withZoneUTC().parseDateTime(firstInRange); }  static String printDate(Date date); static String printYear(Date date); static DateTime parseYearUTC(String dateString); static DateTime parseYearMonthUTC(String dateString); static DateTime parsePatternUTC(String dateString, String pattern); static DateTime parseDateUTC(String eventDate); static String splitPossibleRange(String eventDate); static String nowDateString();  }### Answer:
@Test public void parseDateYearMonth() { String text = "2018-12"; assertThat(DateUtil.parseYearMonthUTC(text).toString(), is("2018-12-01T00:00:00.000Z")); }
@Test public void parseDateYearMonthRange() { String text = "2018-12/2019-01"; assertThat(DateUtil.parseYearMonthUTC(text).toString(), is("2018-12-01T00:00:00.000Z")); }
@Test public void parseDateYearMonthRange2() { String text = "2006-07/08"; assertThat(DateUtil.parseYearMonthUTC(text).toString(), is("2006-07-01T00:00:00.000Z")); }