- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for testIsTarget (0.07 sec)
-
src/test/java/org/codelibs/core/beans/converter/TimestampConverterTest.java
System.out.println(result); assertThat(converter.getAsString(result), is("2008/12/31 12:34:56")); } /** * @throws Exception */ @Test public void testIsTarget() throws Exception { final TimestampConverter converter = new TimestampConverter("yyyy/MM/dd"); assertThat(converter.isTarget(java.sql.Timestamp.class), is(true));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/converter/DateConverterTest.java
System.out.println(result); assertThat(converter.getAsString(result), is("2008/01/16")); } /** * @throws Exception */ @Test public void testIsTarget() throws Exception { final DateConverter converter = new DateConverter("yyyy/MM/dd"); assertThat(converter.isTarget(Date.class), is(true)); assertThat(converter.isTarget(Timestamp.class), is(not(true)));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/converter/TimeConverterTest.java
System.out.println(result); assertThat(converter.getAsString(result), is("12:34:56")); } /** * @throws Exception */ public void testIsTarget() throws Exception { final TimeConverter converter = new TimeConverter("yyyy/MM/dd"); assertThat(converter.isTarget(java.sql.Time.class), is(true));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/converter/SqlDateConverterTest.java
System.out.println(result); assertThat(converter.getAsString(result), is("2008/01/16")); } /** * @throws Exception */ @Test public void testIsTarget() throws Exception { final SqlDateConverter converter = new SqlDateConverter("yyyy/MM/dd"); assertThat(converter.isTarget(java.sql.Date.class), is(true));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/converter/NumberConverterTest.java
assertThat(converter.getAsString(new Integer("100")), is("100")); } /** * @throws Exception */ @Test public void testIsTarget() throws Exception { final NumberConverter converter = new NumberConverter("##0"); assertThat(converter.isTarget(Integer.class), is(true)); assertThat(converter.isTarget(Timestamp.class), is(not(true)));
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 1.7K bytes - Viewed (0)