ISO8601DateTimeParser { public static DateTime yearMonthDay( String value ) { return YEAR_MONTH_DAY_FMT.parseDateTime( value ); }  static DateTime parse( String value ); static DateTime yearMonthDay( String value );  }
@Test public void testYearMonthDay() throws Exception { DateTimeZone dateTimeZone = DateTimeZone.forTimeZone( TimeZones.UTC ); assertThat( ISO8601DateTimeParser.yearMonthDay( "2015-03-31" ).withZone(dateTimeZone).toString(), startsWith( "2015-03-31T" ) ); }