@Test(expectedExceptions = FHIRSearchException.class) public void testYearMonthDaySeparatorHourParserMinutesBadNumber() throws FHIRSearchException { DateTimeHandler.parse("2019-10-11T01:1"); }
public static void parse(Prefix prefix, QueryParameterValue parameterValue, String v) throws FHIRSearchException { TemporalAccessor value = parse(v); parameterValue.setValueDateLowerBound(generateLowerBound(prefix, value, v)); parameterValue.setValueDateUpperBound(generateUpperBound(prefix, value, v)); }
DateTimeHandler { public static void parse(Prefix prefix, QueryParameterValue parameterValue, String v) throws FHIRSearchException { TemporalAccessor value = parse(v); parameterValue.setValueDateLowerBound(generateLowerBound(prefix, value, v)); parameterValue.setValueDateUpperBound(generateUpperBound(prefix, value, v)); } }
DateTimeHandler { public static void parse(Prefix prefix, QueryParameterValue parameterValue, String v) throws FHIRSearchException { TemporalAccessor value = parse(v); parameterValue.setValueDateLowerBound(generateLowerBound(prefix, value, v)); parameterValue.setValueDateUpperBound(generateUpperBound(prefix, value, v)); }  }
DateTimeHandler { public static void parse(Prefix prefix, QueryParameterValue parameterValue, String v) throws FHIRSearchException { TemporalAccessor value = parse(v); parameterValue.setValueDateLowerBound(generateLowerBound(prefix, value, v)); parameterValue.setValueDateUpperBound(generateUpperBound(prefix, value, v)); }  static Timestamp generateTimestamp(Instant inst); static Instant generateLowerBoundApproximation(Instant now, Instant cur); static Instant generateLowerBound(Prefix prefix, TemporalAccessor value, String originalString); static Instant generateValue(TemporalAccessor value, String originalString); static Instant generateValue(TemporalAccessor value); static Instant generateUpperBound(DateTime value); static Instant generateUpperBound(Date value); static Instant generateUpperBound(Prefix prefix, TemporalAccessor value, String originalString); static Instant generateUpperBoundApproximation(Instant now, Instant cur); static String serialize(TemporalAccessor value); static void parse(Prefix prefix, QueryParameterValue parameterValue, String v); static TemporalAccessor parse(String value); static TemporalAccessor parseQuiet(String value); }
DateTimeHandler { public static void parse(Prefix prefix, QueryParameterValue parameterValue, String v) throws FHIRSearchException { TemporalAccessor value = parse(v); parameterValue.setValueDateLowerBound(generateLowerBound(prefix, value, v)); parameterValue.setValueDateUpperBound(generateUpperBound(prefix, value, v)); }  static Timestamp generateTimestamp(Instant inst); static Instant generateLowerBoundApproximation(Instant now, Instant cur); static Instant generateLowerBound(Prefix prefix, TemporalAccessor value, String originalString); static Instant generateValue(TemporalAccessor value, String originalString); static Instant generateValue(TemporalAccessor value); static Instant generateUpperBound(DateTime value); static Instant generateUpperBound(Date value); static Instant generateUpperBound(Prefix prefix, TemporalAccessor value, String originalString); static Instant generateUpperBoundApproximation(Instant now, Instant cur); static String serialize(TemporalAccessor value); static void parse(Prefix prefix, QueryParameterValue parameterValue, String v); static TemporalAccessor parse(String value); static TemporalAccessor parseQuiet(String value);  }