Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 14 of 14 for borate (0.15 sec)

  1. 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;
            }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2K bytes
    - Viewed (0)
  2. 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
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  3. 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;
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  4. 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) {
    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)
Back to top