Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 466 for Format (0.18 sec)

  1. 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"));
        }
    
        /**
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/CoreLibConstants.java

        public static final String DATE_FORMAT_ISO_8601_BASIC = "yyyyMMdd'T'HHmmss.SSSZ";
    
        public static final String DATE_FORMAT_ISO_8601_EXTEND = "yyyy-MM-dd'T'HH:mm:ss.SSSZ";
    
        public static final String DATE_FORMAT_ISO_8601_EXTEND_UTC = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'";
    
        public static final String DATE_FORMAT_DIGIT_ONLY = "yyyyMMddHHmmss";
    
        protected CoreLibConstants() {
        }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/log/LoggerTest.java

         */
        @Test
        public void testLogWithException() throws Exception {
            logger.log(format("ILOGTEST0001"), new Exception());
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testLogWithArgsAndException() throws Exception {
            logger.log(format("ILOGTEST0002", "1", "2"), new Exception());
        }
    
        /**
         * @throws Exception
         */
        @Test
    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)
  4. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            sdf.setTimeZone(Constants.TIMEZONE_UTC);
            return sdf.format(date);
        }
    
        public static String formatDate(final LocalDateTime date) {
            if (date == null) {
                return StringUtil.EMPTY;
            }
            return date.format(DateTimeFormatter.ofPattern(Constants.ISO_DATETIME_FORMAT, Locale.ROOT));
        }
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

            listener.start(String.format("class %s", classMetaData));
            try {
                String rawCommentText = classMetaData.getRawCommentText();
                try {
                    return parse(rawCommentText, classMetaData, new NoOpCommentSource(), listener);
                } catch (Exception e) {
    Java
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 29.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/log/Logger.java

            log(format(messageCode, args));
        }
    
        /**
         * ログを出力します。
         * <p>
         * ログメッセージは{@link #format(String, Object...)}メソッドで作成します。
         * {@link #format(String, Object...)}を{@literal static import}しておくと便利です。
         * </p>
         *
         * <pre>
         * import static org.codelibs.core.log.Logger.format;
         *
         * Logger logger = Logger.getLogger(Xxx.class);
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/convert/TimeConversionUtil.java

        protected static Date toDate(final String str, final Locale locale) {
            for (final DateFormat format : MultiIterator.iterable(new DateFormatIterator(locale), new PlainDateFormatIterator(str, locale))) {
                if (format == null) {
                    continue;
                }
                final Date date = toDate(str, format);
                if (date != null) {
                    return date;
                }
            }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 21.2K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/XslTransformer.java

            String destDir = "";
            if (args.length > 3) {
                destDir = args[3];
            }
    
            System.out.format("=> stylesheet %s%n", stylesheet);
            System.out.format("=> source %s%n", source);
            System.out.format("=> dest %s%n", dest);
            System.out.format("=> destDir %s%n", destDir);
    
            TransformerFactory factory = TransformerFactory.newInstance();
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Oct 05 19:36:14 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/hash/MacHashFunctionTest.java

            Hashing.hmacSha1(keyData).toString());
    
        assertEquals(
            "Hashing.hmacSha256(Key[algorithm=HmacSHA256, format=RAW])",
            Hashing.hmacSha256(SHA256_KEY).toString());
        assertEquals(
            "Hashing.hmacSha256(Key[algorithm=HmacSHA256, format=RAW])",
            Hashing.hmacSha256(keyData).toString());
    
        assertEquals(
            "Hashing.hmacSha512(Key[algorithm=HmacSHA512, format=RAW])",
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataReader.java

    import java.io.InputStream;
    import java.io.Reader;
    import java.util.Map;
    
    import org.apache.maven.artifact.repository.metadata.Metadata;
    
    /**
     * Handles deserialization of metadata from some kind of textual format like XML.
     *
     */
    public interface MetadataReader {
    
        /**
         * The key for the option to enable strict parsing. This option is of type {@link Boolean} and defaults to {@code
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.3K bytes
    - Viewed (0)
Back to top