- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 110 for toDate (0.13 seconds)
-
src/main/java/org/codelibs/core/convert/DateConversionUtil.java
*/ public static Date toDate(final Object src) { return toDate(src, null, LocaleUtil.getDefault()); } /** * Converts an object to {@link Date}. * * @param src the source object * @param pattern the pattern string * @return the converted {@link Date} */ public static Date toDate(final Object src, final String pattern) {Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 19.6K bytes - Click Count (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 */ @TestCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 11.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/convert/TimeConversionUtil.java
* * @param src * The source object to convert. * @return The converted {@link Date}. */ public static Date toDate(final Object src) { return toDate(src, null, LocaleUtil.getDefault()); } /** * Converts the given object to a {@link Date}. * * @param src * The source object to convert.Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 20.3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java
* * @param src * The source object to convert. * @return The converted {@link Date}. */ public static Date toDate(final Object src) { return toDate(src, null, LocaleUtil.getDefault()); } /** * Converts the given object to a {@link Date}. * * @param src * The source object to convert.Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 20.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/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) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 27 07:01:25 GMT 2025 - 26.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/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) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 27 07:01:25 GMT 2025 - 26.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/opensearch/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) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Nov 27 07:01:25 GMT 2025 - 26.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/impl/PropertyDescImpl.java
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 24 01:52:43 GMT 2025 - 15.1K bytes - Click Count (0) -
README.md
Integer nullValue = IntegerConversionUtil.toInteger(null); // Returns null Boolean flag = BooleanConversionUtil.toBoolean("true"); // Returns true Date date = DateConversionUtil.toDate("2023-12-25", "yyyy-MM-dd"); // Primitive conversions with default values int primitiveInt = IntegerConversionUtil.toPrimitiveInt(value, "0"); // Default to 0 if null ``` ### Collection Utilities with Java 21 Support
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sun Aug 31 02:56:02 GMT 2025 - 12.7K bytes - Click Count (0) -
cmd/batch-rotate.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 14.7K bytes - Click Count (0)