Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 45 for Date (0.14 sec)

  1. 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)
  2. src/main/java/org/codelibs/core/convert/ShortConversionUtil.java

            } else if (o instanceof String) {
                return toShort((String) o);
            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
                    return Short.valueOf(new SimpleDateFormat(pattern).format(o));
                }
                return (short) ((java.util.Date) o).getTime();
            } else if (o instanceof Boolean) {
                return ((Boolean) o) ? (short) 1 : (short) 0;
            } else {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java

            final Date date = toDate("11:49");
            assertThat(new SimpleDateFormat("HH:mm:ss").format(date), is("11:49:00"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_MediumStyle() throws Exception {
            final Date date = toDate("11:49:10");
            assertThat(new SimpleDateFormat("HH:mm:ss").format(date), is("11:49:10"));
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/convert/CalendarConversionUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToCalendar() throws Exception {
            final Date date = new Date();
            final Calendar cal = CalendarConversionUtil.toCalendar(date);
            assertEquals(date, cal.getTime());
        }
    
        /**
         *
         * @throws Exception
         */
        @Test
        public void testLocalize() throws Exception {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/beans/converter/DateConverterTest.java

    import java.sql.Timestamp;
    import java.util.Date;
    
    import org.junit.Test;
    
    /**
     * @author higa
     *
     */
    public class DateConverterTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetAsObjectAndGetAsString() throws Exception {
            final DateConverter converter = new DateConverter("yyyy/MM/dd");
            final Date result = (Date) converter.getAsObject("2008/01/16");
    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)
  6. src/main/resources/fess_label_ja.properties

    labels.webauth_scheme_basic=Basic
    labels.webauth_scheme_digest=Digest
    labels.webauth_scheme_ntlm=NTLM
    labels.webauth_scheme_form=Form
    labels.log_configuration=ログファイル
    labels.log_file_name=ファイル名
    labels.log_file_date=タイムスタンプ
    labels.labeltype_configuration=ラベル
    labels.labeltype_title_details=ラベル
    labels.labeltype_name=名前
    labels.labeltype_value=値
    labels.labeltype_included_paths=対象とするパス
    labels.labeltype_excluded_paths=除外するパス
    Properties
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Fri Mar 22 11:58:34 GMT 2024
    - 46.2K bytes
    - Viewed (2)
  7. src/main/java/org/codelibs/core/convert/DoubleConversionUtil.java

            } else if (o instanceof String) {
                return toDouble((String) o);
            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
                    return new Double(new SimpleDateFormat(pattern).format(o));
                }
                return new Double(((java.util.Date) o).getTime());
            } else {
                return toDouble(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)
  8. src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java

            }
    
            /**
             * @param date
             */
            public void setBaz(final Map<String, Date> date) {
            }
    
            /** */
            public List<?> hoge;
    
            /**
             * @return Set
             */
            public Set<? extends Enum<?>> getFuga() {
                return null;
            }
    
            /**
             * @param date
             */
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 13.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/convert/ByteConversionUtil.java

            } else if (o instanceof String) {
                return toByte((String) o);
            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
                    return Byte.valueOf(new SimpleDateFormat(pattern).format(o));
                }
                return (byte) ((java.util.Date) o).getTime();
            } else if (o instanceof Boolean) {
                return ((Boolean) o) ? (byte) 1 : (byte) 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)
  10. src/main/java/org/codelibs/core/convert/StringConversionUtil.java

            if (value == null) {
                return null;
            } else if (value instanceof String) {
                return (String) value;
            } else if (value instanceof java.util.Date) {
                return toString((java.util.Date) value, pattern);
            } else if (value instanceof Number) {
                return toString((Number) value, pattern);
            } else if (value instanceof byte[]) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 6.5K bytes
    - Viewed (0)
Back to top