- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for toSqlTimestamp (0.26 sec)
-
src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java
*/ @Test public void testToSqlTimestamp_Null() throws Exception { assertThat(toSqlTimestamp(null, Locale.JAPAN), is(nullValue())); } /** * @throws Exception */ @Test public void testToTimestamp_EmptyString() throws Exception { assertThat(toSqlTimestamp("", Locale.JAPAN), is(nullValue())); } /** * @throws Exception */
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 11.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/converter/TimestampConverter.java
this.pattern = pattern; } @Override public Object getAsObject(final String value) { if (isEmpty(value)) { return null; } return TimestampConversionUtil.toSqlTimestamp(value, pattern); } @Override public String getAsString(final Object value) { if (value == null) { return null; }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java
return TimeConversionUtil.toDate(arg); } } } else if (propertyType == Timestamp.class) { return TimestampConversionUtil.toSqlTimestamp(arg); } else if (propertyType == java.sql.Date.class) { return DateConversionUtil.toSqlDate(arg); } else if (propertyType == Time.class) { return TimeConversionUtil.toSqlTime(arg);
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 15.3K bytes - Viewed (0)