Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for hh (0.04 sec)

  1. src/test/java/org/codelibs/core/convert/TimeConversionUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_SpecificPattern() throws Exception {
            final Date date = toDate("10::49::11", "ss::mm::HH");
            assertThat(new SimpleDateFormat("HH:mm:ss").format(date), is("11:49:10"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToCalendar_Null() throws Exception {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Fri Jun 20 13:40:57 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

                    buf.append(ch);
                }
            }
            if (buf.indexOf("HH") == -1) {
                final int pos = buf.indexOf("H");
                if (pos != -1) {
                    buf.replace(pos, pos + 1, "HH");
                }
            }
            if (buf.indexOf("mm") == -1) {
                final int pos = buf.indexOf("m");
                if (pos != -1) {
    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

                if (pos != -1) {
                    buf.replace(pos, pos + 1, "dd");
                }
            }
            if (buf.indexOf("HH") == -1) {
                final int pos = buf.indexOf("H");
                if (pos != -1) {
                    buf.replace(pos, pos + 1, "HH");
                }
            }
            if (buf.indexOf("mm") == -1) {
                final int pos = buf.indexOf("m");
                if (pos != -1) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 20.6K bytes
    - Viewed (0)
Back to top