- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 55 for Date (0.18 sec)
-
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) -
src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java
} protected Date getLastModified(final Map<String, Object> dataMap, final ResponseData responseData) { final Object lastModifiedObj = dataMap.get(fessConfig.getIndexFieldLastModified()); if (lastModifiedObj instanceof Date) { return (Date) lastModifiedObj; } if (lastModifiedObj instanceof String) {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 23.5K 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/fess/crawler/FessCrawlerThread.java
storeChildUrlsToQueue(urlQueue, getChildUrlSet(searchEngineClient, id)); return true; } final Date expires = DocumentUtil.getValue(document, fessConfig.getIndexFieldExpires(), Date.class); if (expires != null && expires.getTime() < systemHelper.getCurrentTimeAsLong()) { final Object idValue = document.get(fessConfig.getIndexFieldId());
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 14.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractBehavior.java
* governing permissions and limitations under the License. */ package org.codelibs.fess.es.user.allcommon; import java.time.LocalDateTime; import java.util.ArrayList; import java.util.Collection; import java.util.Date; import java.util.Iterator; import java.util.List; import java.util.ListIterator; import java.util.Map; import java.util.function.Function; import javax.annotation.Resource;
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 26.4K 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) -
src/main/java/org/codelibs/core/convert/TimeConversionUtil.java
Java - Registered: Fri May 03 20:58:11 GMT 2024 - Last Modified: Thu Mar 07 01:59:08 GMT 2024 - 21.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractConditionQuery.java
} } protected String toRangeLocalDateTimeString(LocalDateTime date, String format) { if (format.contains("epoch_millis")) { return Long.toString(date.atZone(ZoneId.systemDefault()).toInstant().toEpochMilli()); } else if (format.contains("date_optional_time")) { return DateTimeFormatter.ISO_DATE_TIME.format(date); } else {
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 21.1K bytes - Viewed (0)