Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for yyyy (0.02 sec)

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

            final Date date = toDate("10/9/7");
            assertThat(new SimpleDateFormat("yyyy/MM/dd").format(date), is("2010/09/07"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_MediumStyle() throws Exception {
            final Date date = toDate("2010/9/7");
            assertThat(new SimpleDateFormat("yyyy/MM/dd").format(date), is("2010/09/07"));
        }
    
        /**
         * @throws Exception
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/DateFormatting.kt

        "EEE, dd MMM yyyy HH:mm:ss zzz",
        // RFC 850, obsoleted by RFC 1036 with any TZ.
        "EEEE, dd-MMM-yy HH:mm:ss zzz",
        // ANSI C's asctime() format
        "EEE MMM d HH:mm:ss yyyy",
        // Alternative formats:
        "EEE, dd-MMM-yyyy HH:mm:ss z",
        "EEE, dd-MMM-yyyy HH-mm-ss z",
        "EEE, dd MMM yy HH:mm:ss z",
        "EEE dd-MMM-yyyy HH:mm:ss z",
        "EEE dd MMM yyyy HH:mm:ss z",
        "EEE dd-MMM-yyyy HH-mm-ss z",
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/convert/TimestampConversionUtilTest.java

            assertThat(new SimpleDateFormat("yyyy/MM/dd HH:mm:ss").format(date), is("2010/09/07 11:49:00"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testToDate_MediumStyle() throws Exception {
            final Date date = toDate("2010/9/7 11:49:10", Locale.JAPAN);
            assertThat(new SimpleDateFormat("yyyy/MM/dd HH:mm:ss").format(date), is("2010/09/07 11:49:10"));
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/CoreLibConstants.java

        /**
         * ISO 8601 extended format: yyyy-MM-dd'T'HH:mm:ss.SSSZ
         */
        public static final String DATE_FORMAT_ISO_8601_EXTEND = "yyyy-MM-dd'T'HH:mm:ss.SSSZ";
    
        /**
         * ISO 8601 extended UTC format: yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
         */
        public static final String DATE_FORMAT_ISO_8601_EXTEND_UTC = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'";
    
        /**
         * Digit only date format: yyyyMMddHHmmss
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/beans/converter/TimestampConverterTest.java

    public class TimestampConverterTest {
    
        /**
         * @throws Exception
         */
        @Test
        public void testGetAsObjectAndGetAsString() throws Exception {
            final TimestampConverter converter = new TimestampConverter("yyyy/MM/dd HH:mm:ss");
            final java.sql.Timestamp result = (java.sql.Timestamp) converter.getAsObject("2008/12/31 12:34:56");
            System.out.println(result);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/core/beans/converter/DateConverterTest.java

     */
    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");
            System.out.println(result);
            assertThat(converter.getAsString(result), is("2008/01/16"));
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/core/beans/converter/SqlDateConverterTest.java

    public class SqlDateConverterTest {
    
        /**
         * @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"));
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  8. src/main/webapp/WEB-INF/fe.tld

        <function-class>org.codelibs.fess.taglib.FessFunctions</function-class>
        <function-signature>java.util.Date parseDate(java.lang.String, java.lang.String)</function-signature>
        <example>
          ${fe:parseDate(doc.tstamp, "yyyy-MM-dd HH:mm:ss")}
        </example>
      </function>
    
      <function>
        <description>
          Returns formatted duration from a given value.
        </description>
        <name>formatDuration</name>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jan 18 11:38:54 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/searchResults.jsp

    				</div>
    				<div class="info">
    					<fmt:formatDate value="${fe:parseDate(doc.last_modified)}" type="BOTH" pattern="yyyy-MM-dd HH:mm" />
    					<c:if test="${doc.last_modified==null || doc.last_modified==''}">
    						<fmt:formatDate value="${fe:parseDate(doc.created)}" type="BOTH" pattern="yyyy-MM-dd HH:mm" />
    					</c:if>
    					<c:if test="${doc.content_length!=null && doc.content_length!=''}">
    						<div class="d-sm-none"></div>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jan 18 05:32:37 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  10. README.md

    Integer nullValue = IntegerConversionUtil.toInteger(null);     // Returns null
    Boolean flag = BooleanConversionUtil.toBoolean("true");        // Returns true
    Date date = DateConversionUtil.toDate("2023-12-25", "yyyy-MM-dd");
    
    // Primitive conversions with default values
    int primitiveInt = IntegerConversionUtil.toPrimitiveInt(value, "0");  // Default to 0 if null
    ```
    
    ### Collection Utilities with Java 21 Support
    ```java
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top