Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for formatDuration (0.7 sec)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/event/ExecutionEventLogger.java

    import org.apache.maven.project.MavenProject;
    import org.slf4j.ILoggerFactory;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import static org.apache.maven.cling.utils.CLIReportingUtils.formatDuration;
    import static org.apache.maven.cling.utils.CLIReportingUtils.formatTimestamp;
    
    /**
     * Logs execution events to logger, eventually user-supplied.
     *
     */
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Dec 13 15:40:45 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

    import org.apache.maven.project.MavenProject;
    import org.slf4j.ILoggerFactory;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import static org.apache.maven.cli.CLIReportingUtils.formatDuration;
    import static org.apache.maven.cli.CLIReportingUtils.formatTimestamp;
    
    /**
     * Logs execution events to logger, eventually user-supplied.
     *
     */
    @Deprecated
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Nov 08 08:49:11 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  3. src/main/webapp/WEB-INF/fe.tld

      </function>
    
      <function>
        <description>
          Returns formatted duration from a given value.
        </description>
        <name>formatDuration</name>
        <function-class>org.codelibs.fess.taglib.FessFunctions</function-class>
        <function-signature>java.lang.String formatDuration(long)</function-signature>
        <example>
          ${fe:formatDuration(1234)}
        </example>
      </function>
    
      <function>
        <description>
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Jan 18 11:38:54 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

         * @param durationMillis the duration in milliseconds
         * @return formatted duration string (e.g., "2 days 14:30:25.123" or "14:30:25.123")
         */
        public static String formatDuration(final long durationMillis) {
            return DurationFormatUtils.formatDuration(durationMillis, "d 'days' HH:mm:ss.SSS").replace("0 days", StringUtil.EMPTY).trim();
    
        }
    
        /**
         * Formats a number using the specified pattern and user's locale.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 25.4K bytes
    - Viewed (1)
Back to top