You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/03/28 19:20:00 UTC

[jira] [Work logged] (LANG-1530) DurationFormatUtils - another method like formatDurationWords with milliseconds

     [ https://issues.apache.org/jira/browse/LANG-1530?focusedWorklogId=411780&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-411780 ]

ASF GitHub Bot logged work on LANG-1530:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 28/Mar/20 19:19
            Start Date: 28/Mar/20 19:19
    Worklog Time Spent: 10m 
      Work Description: mikolajmitura commented on pull request #506: LANG-1530 another method like formatDurationWords with 
URL: https://github.com/apache/commons-lang/pull/506
 
 
   added new method 'formatDurationWordsWithMs' for format duration: 
   0 days 0 hours 0 minutes 0 seconds 0 milliseconds
   still exists old method 'formatDurationWords' which format as below:
   0 days 0 hours 0 minutes 0 seconds
    
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 411780)
    Remaining Estimate: 0h
            Time Spent: 10m

> DurationFormatUtils - another method like formatDurationWords with milliseconds
> -------------------------------------------------------------------------------
>
>                 Key: LANG-1530
>                 URL: https://issues.apache.org/jira/browse/LANG-1530
>             Project: Commons Lang
>          Issue Type: Improvement
>          Components: lang.time.*
>            Reporter: Mikolaj Mitura
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> At this moment method:
> {code:java}
> public static String formatDurationWords( 
>                   final long durationMillis, 
>                   final boolean suppressLeadingZeroElements,
>                   final boolean suppressTrailingZeroElements) {
> {code}
> 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. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)