### Question:
DateUtil { public static DateTime parseYearUTC(String dateString) { String firstInRange = splitPossibleRange(dateString); return ISODateTimeFormat.year().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 parseYear() { String text1 = "2018"; assertThat(DateUtil.parseYearUTC(text1).toString(), is("2018-01-01T00:00:00.000Z")); }
@Test public void parseYearRange() { String text1 = "2018/2019"; assertThat(DateUtil.parseYearUTC(text1).toString(), is("2018-01-01T00:00:00.000Z")); }