- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 107 for Date (8.36 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/main/java/org/codelibs/fess/dict/DictionaryCreator.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.dict; import java.util.Base64; import java.util.Date; import java.util.regex.Pattern; import javax.annotation.Resource; import org.codelibs.fess.Constants; public abstract class DictionaryCreator { protected Pattern pattern; @Resource
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 1.8K bytes - Viewed (0) -
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/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/dict/kuromoji/KuromojiCreator.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.dict.kuromoji; import java.util.Date; import javax.annotation.PostConstruct; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.codelibs.fess.dict.DictionaryCreator;
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/protwords/ProtwordsCreator.java
* either express or implied. See the License for the specific language * governing permissions and limitations under the License. */ package org.codelibs.fess.dict.protwords; import java.util.Date; import javax.annotation.PostConstruct; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.codelibs.fess.dict.DictionaryCreator;
Java - Registered: Mon May 06 08:04:11 GMT 2024 - Last Modified: Thu Feb 22 01:37:57 GMT 2024 - 1.6K bytes - Viewed (0)