Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 125 for Date (0.2 sec)

  1. 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)
  2. src/test/java/org/codelibs/fess/dict/synonym/SynonymFileTest.java

            synonymFile = new SynonymFile("1", file1.getAbsolutePath(), new Date());
        }
    
        @Override
        public void tearDown() throws Exception {
            file1.delete();
        }
        */
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            synonymFile = new SynonymFile("1", "dummy", new Date());
            List<SynonymItem> itemList = new ArrayList<>();
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/main/java/org/codelibs/fess/es/log/cbean/cq/bs/BsSearchLogCQ.java

        }
    
        public void setRequestedAt_GreaterThan(LocalDateTime requestedAt, ConditionOptionCall<RangeQueryBuilder> opLambda) {
            final Object _value = toRangeLocalDateTimeString(requestedAt, "date_optional_time");
            RangeQueryBuilder builder = regRangeQ("requestedAt", ConditionKey.CK_GREATER_THAN, _value);
            if (opLambda != null) {
                opLambda.callback(builder);
            }
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 145.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

                final Date date = toDate(str, format);
                if (date != null) {
                    return date;
                }
            }
            final Date date = toDate(str, locale);
            if (date != null) {
                return date;
            }
            final Time time = toSqlTimeJdbcEscape(str);
            if (time != null) {
                return new Date(time.getTime());
            }
    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)
  7. src/test/java/org/codelibs/core/beans/converter/SqlDateConverterTest.java

         * @throws Exception
         */
        @Test
        public void testGetAsObjectAndGetAsString() throws Exception {
            final SqlDateConverter converter = new SqlDateConverter("yyyy/MM/dd");
            final java.sql.Date result = (java.sql.Date) converter.getAsObject("2008/01/16");
            System.out.println(result);
            assertThat(converter.getAsString(result), is("2008/01/16"));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/CoreLibConstants.java

        public static final String DATE_FORMAT_ISO_8601_BASIC = "yyyyMMdd'T'HHmmss.SSSZ";
    
        public static final String DATE_FORMAT_ISO_8601_EXTEND = "yyyy-MM-dd'T'HH:mm:ss.SSSZ";
    
        public static final String DATE_FORMAT_ISO_8601_EXTEND_UTC = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'";
    
        public static final String DATE_FORMAT_DIGIT_ONLY = "yyyyMMddHHmmss";
    
        protected CoreLibConstants() {
        }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/DocumentUtilTest.java

            assertEquals(777, DocumentUtil.getValue(doc, "key9", Integer.class));
        }
    
        public void test_date() {
            Map<String, Object> doc = new HashMap<>();
    
            Date expected4 = new Date();
            doc.put("key4", expected4);
            assertEquals(expected4, DocumentUtil.getValue(doc, "key4", Date.class));
        }
    
        public void test_long() {
            Map<String, Object> doc = new HashMap<>();
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/convert/FloatConversionUtil.java

            } else if (o instanceof String) {
                return toFloat((String) o);
            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
                    return new Float(new SimpleDateFormat(pattern).format(o));
                }
                return new Float(((java.util.Date) o).getTime());
            } else {
                return toFloat(o.toString());
            }
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.6K bytes
    - Viewed (0)
Back to top