DataType { public static boolean isDate(final String type) { return Objects.equals(type, DataType.TYPE_DATE) || Objects.equals(type, DataType.TYPE_LOCAL_DATE); }  static boolean isNumeric(final String type); static boolean isDate(final String type); static final String TYPE_COLLECTION; static final String TYPE_COMPARABLE; static final String TYPE_STRING; static final String TYPE_NUMERIC; static final String TYPE_NUMERIC_BIGDECIMAL; static final String TYPE_NUMERIC_BIGINTEGER; static final String TYPE_NUMERIC_BYTE; static final String TYPE_NUMERIC_DOUBLE; static final String TYPE_NUMERIC_FLOAT; static final String TYPE_NUMERIC_INTEGER; static final String TYPE_NUMERIC_LONG; static final String TYPE_NUMERIC_SHORT; static final String TYPE_BOOLEAN; static final String TYPE_DATE; static final String TYPE_LOCAL_DATE; static final String TYPE_OBJECT; static final String TYPE_FINAL_OBJECT; static final String TYPE_THIS; static final String TYPE_VOID; }
@Test public void testIsDate() { Assertions.assertThat(DataType.isDate(dataType)).isEqualTo(isDate); }