- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 228 for toDate (0.07 sec)
-
src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java
/** * @throws Exception */ @Test public void testToDate_Null() throws Exception { assertThat(toDate(null), is(nullValue())); } /** * @throws Exception */ @Test public void testToDate_EmptyString() throws Exception { assertThat(toDate(""), is(nullValue())); } /** * @throws Exception */ @Test
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 9.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/DateConversionUtil.java
*/ public static Date toDate(final Object src) { return toDate(src, null, LocaleUtil.getDefault()); } /** * オブジェクトを{@link Date}に変換します。 * * @param src * 変換元のオブジェクト * @param pattern * パターン文字列 * @return 変換された{@link Date} */ public static Date toDate(final Object src, final String pattern) {
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 21.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java
/** * @throws Exception */ @Test public void testToDate_Null() throws Exception { assertThat(toDate(null), is(nullValue())); } /** * @throws Exception */ @Test public void testToDate_EmptyString() throws Exception { assertThat(toDate(""), is(nullValue())); } /** * @throws Exception */ @Test
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 9.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java
*/ // @Test // public void testToDate_Null() throws Exception { // assertThat(toDate(null, Locale.JAPAN), is(nullValue())); // } /** * @throws Exception */ @Test public void testToDate_EmptyString() throws Exception { assertThat(toDate("", Locale.JAPAN), is(nullValue())); } /** * @throws Exception */ @Test
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/impl/PropertyDescImpl.java
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 15.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/beans/converter/DateConverter.java
this.pattern = pattern; } @Override public Object getAsObject(final String value) { if (isEmpty(value)) { return null; } return DateConversionUtil.toDate(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 - 2K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/CalendarConversionUtil.java
*/ public static Calendar toCalendar(final Object o, final String pattern) { if (o instanceof Calendar) { return (Calendar) o; } final java.util.Date date = DateConversionUtil.toDate(o, pattern); if (date != null) { final Calendar cal = Calendar.getInstance(); cal.setTime(date); return cal; } return null; } /**
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/user/allcommon/EsAbstractBehavior.java
return new String[] { str }; } protected LocalDateTime toLocalDateTime(Object value) { return DfTypeUtil.toLocalDateTime(value); } protected Date toDate(Object value) { return DfTypeUtil.toDate(value); } protected SearchHits getSearchHits(final SearchResponse response) { SearchHits hits = response.getHits(); if (hits == null) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 26.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/log/allcommon/EsAbstractBehavior.java
return new String[] { str }; } protected LocalDateTime toLocalDateTime(Object value) { return DfTypeUtil.toLocalDateTime(value); } protected Date toDate(Object value) { return DfTypeUtil.toDate(value); } protected SearchHits getSearchHits(final SearchResponse response) { SearchHits hits = response.getHits(); if (hits == null) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 26.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/es/config/allcommon/EsAbstractBehavior.java
return new String[] { str }; } protected LocalDateTime toLocalDateTime(Object value) { return DfTypeUtil.toLocalDateTime(value); } protected Date toDate(Object value) { return DfTypeUtil.toDate(value); } protected SearchHits getSearchHits(final SearchResponse response) { SearchHits hits = response.getHits(); if (hits == null) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 26.4K bytes - Viewed (0)