@Test public void parseDateYearMonthRange() { String text = "2018-12/2019-01"; assertThat(DateUtil.parseYearMonthUTC(text).toString(), is("2018-12-01T00:00:00.000Z")); }
public static DateTime parseYearMonthUTC(String dateString) { String firstInRange = splitPossibleRange(dateString); return ISODateTimeFormat.yearMonth().withZoneUTC().parseDateTime(firstInRange); }
DateUtil { public static DateTime parseYearMonthUTC(String dateString) { String firstInRange = splitPossibleRange(dateString); return ISODateTimeFormat.yearMonth().withZoneUTC().parseDateTime(firstInRange); } }
DateUtil { public static DateTime parseYearMonthUTC(String dateString) { String firstInRange = splitPossibleRange(dateString); return ISODateTimeFormat.yearMonth().withZoneUTC().parseDateTime(firstInRange); }  }
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(); }
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();  }