Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for toPattern (0.06 sec)

  1. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

         */
        public static String getShortPattern(final Locale locale) {
            assertArgumentNotNull("locale", locale);
            return ((SimpleDateFormat) getDateInstance(SHORT, locale)).toPattern();
        }
    
        /**
         * Returns the pattern string for {@link DateFormat#MEDIUM} style in the default locale.
         *
         * @return the pattern string for {@link DateFormat#MEDIUM} style
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

         */
        public static String getShortPattern(final Locale locale) {
            assertArgumentNotNull("locale", locale);
            return ((SimpleDateFormat) getTimeInstance(SHORT, locale)).toPattern();
        }
    
        /**
         * Returns the pattern string for {@link DateFormat#MEDIUM} style in the default locale.
         *
         * @return the pattern string for {@link DateFormat#MEDIUM} style
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/convert/TimestampConversionUtil.java

         */
        public static String getShortPattern(final Locale locale) {
            assertArgumentNotNull("locale", locale);
            return ((SimpleDateFormat) getDateTimeInstance(SHORT, SHORT, locale)).toPattern();
        }
    
        /**
         * Returns the pattern string for {@link DateFormat#MEDIUM} style using the default locale.
         *
         * @return the pattern string for {@link DateFormat#MEDIUM} style
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/convert/DateConversionUtilTest.java

        /**
         * @throws Exception
         */
        @Test
        public void testToDate_ShortStyle() throws Exception {
            System.out.println(((SimpleDateFormat) DateFormat.getDateTimeInstance(DateFormat.FULL, DateFormat.FULL)).toPattern());
            final Date date = toDate("10/9/7");
            assertThat(new SimpleDateFormat("yyyy/MM/dd").format(date), is("2010/09/07"));
        }
    
        /**
         * @throws Exception
         */
        @Test
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top