Uploaded image for project: 'Commons Lang'
  1. Commons Lang
  2. LANG-1530

DurationFormatUtils - another method like formatDurationWords with milliseconds

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • lang.time.*
    • None

    Description

      At this moment method:

      public static String formatDurationWords( 
                        final long durationMillis, 
                        final boolean suppressLeadingZeroElements,
                        final boolean suppressTrailingZeroElements) {
      

      Returns duration with format 0 days 0 hours 0 minutes 0 seconds

      Should be method which will be show milliseconds as well. 
      So format will be:

      0 days 0 hours 0 minutes 0 seconds 0 milliseconds
      with trailing leading and trailing zeros. 

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Mikolaj Mitura Mikolaj Mitura
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m