- Sort Score
- Result 10 results
- Languages All
Results 31 - 34 of 34 for Date (0.15 sec)
-
src/main/java/org/codelibs/core/convert/LongConversionUtil.java
} else if (o instanceof String) { return toLong((String) o); } else if (o instanceof java.util.Date) { if (pattern != null) { return Long.valueOf(new SimpleDateFormat(pattern).format(o)); } return ((java.util.Date) o).getTime(); } else if (o instanceof Boolean) { return ((Boolean) o) ? (long) 1 : (long) 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/impl/PropertyDescImplTest.java
final BeanDesc beanDesc = new BeanDescImpl(MyBean.class); final PropertyDesc propDesc = beanDesc.getPropertyDesc("cal"); final Date date = new Date(); propDesc.setValue(myBean, date); assertThat(myBean.getCal().getTime(), is(date)); } /** * @throws Exception */ @Test public void testSetIntegerValueToString() throws Exception {
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 11.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/BigDecimalConversionUtil.java
} else if (o instanceof BigDecimal) { return (BigDecimal) o; } else if (o instanceof java.util.Date) { if (pattern != null) { return new BigDecimal(new SimpleDateFormat(pattern).format(o)); } return new BigDecimal(Long.toString(((java.util.Date) o).getTime())); } else if (o instanceof String) { final String s = (String) o;
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/util/CopyOptionsUtil.java
* </pre> * <p> * {@literal CopyOptionsUtil}の戻り値は{@link CopyOptions} * なので、メソッドチェーンでオプションを複数指定することもできます。 * </p> * * <pre> * copyBeanToBean(srcBean, destBean, excludeNull().dateConverter("date", "MM/dd")); * </pre> * * @author koichik */ public abstract class CopyOptionsUtil { /** * 操作の対象に含めるプロパティ名を指定した{@link CopyOptions}を返します。 * * @param propertyNames
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 11.2K bytes - Viewed (0)