- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 34 for Tate (0.13 sec)
-
src/main/java/org/codelibs/core/convert/ShortConversionUtil.java
} else if (o instanceof String) { return toShort((String) o); } else if (o instanceof java.util.Date) { if (pattern != null) { return Short.valueOf(new SimpleDateFormat(pattern).format(o)); } return (short) ((java.util.Date) o).getTime(); } else if (o instanceof Boolean) { return ((Boolean) o) ? (short) 1 : (short) 0; } else {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.8K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java
final Date date = toDate("10/9/7"); assertThat(new SimpleDateFormat("yyyy/MM/dd").format(date), is("2010/09/07")); } /** * @throws Exception */ @Test public void testToDate_MediumStyle() throws Exception { final Date date = toDate("2010/9/7"); assertThat(new SimpleDateFormat("yyyy/MM/dd").format(date), is("2010/09/07")); } /**
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 9.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/CalendarConversionUtil.java
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/IntegerConversionUtil.java
} else if (o instanceof String) { return toInteger((String) o); } else if (o instanceof java.util.Date) { if (pattern != null) { return Integer.valueOf(new SimpleDateFormat(pattern).format(o)); } return (int) ((java.util.Date) o).getTime(); } else if (o instanceof Boolean) { return ((Boolean) o) ? 1 : 0; } else {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 3.7K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/util/MyBean2.java
* governing permissions and limitations under the License. */ package org.codelibs.core.beans.util; import java.util.Date; /** * @author higa */ public class MyBean2 { /** * */ public Date aaa;
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 779 bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/converter/TimeConverterTest.java
final TimeConverter converter = new TimeConverter("yyyy/MM/dd"); assertThat(converter.isTarget(java.sql.Time.class), is(true)); assertThat(converter.isTarget(java.util.Date.class), is(not(true))); }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.6K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/converter/TimestampConverterTest.java
final TimestampConverter converter = new TimestampConverter("yyyy/MM/dd"); assertThat(converter.isTarget(java.sql.Timestamp.class), is(true)); assertThat(converter.isTarget(java.util.Date.class), is(not(true))); }
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java
final SimpleDateFormat format = new SimpleDateFormat(pattern, locale); final Date date = toDate(str, format); if (date != null) { return date; } } final Date date = toDate(str, locale); if (date != null) { return date; } final Timestamp timestamp = toSqlTimestampJdbcEscape(str);
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 22.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java
public void testToDate_ShortStyle() throws Exception { final Date date = toDate("10/9/7 11:49", Locale.JAPAN); assertThat(new SimpleDateFormat("yyyy/MM/dd HH:mm:ss").format(date), is("2010/09/07 11:49:00")); } /** * @throws Exception */ @Test public void testToDate_MediumStyle() throws Exception { final Date date = toDate("2010/9/7 11:49:10", Locale.JAPAN);
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 11.4K bytes - Viewed (0) -
src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java
final Date date = new Date(1); assertThat(new CopyOptions().convertValue(date, "aaa", Date.class), is((Object) date)); } /** * @throws Exception */ @Test public void testDateConverter() throws Exception { assertThat(new CopyOptions().dateConverter("yyyyMMdd").convertValue(new java.util.Date(0), "aaa", String.class),
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 12K bytes - Viewed (0)