[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jakarta-commons-dev
Subject:    [jira] [Work logged] (LANG-1530) DurationFormatUtils - another method like formatDurationWords with 
From:       "ASF GitHub Bot (Jira)" <jira () apache ! org>
Date:       2020-03-30 21:05:00
Message-ID: JIRA.13294762.1585415203000.28190.1585602300177 () Atlassian ! JIRA
[Download RAW message or body]


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

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

                Author: ASF GitHub Bot
            Created on: 30/Mar/20 21:04
            Start Date: 30/Mar/20 21:04
    Worklog Time Spent: 10m 
      Work Description: kinow commented on issue #506: LANG-1530 another method like \
                formatDurationWords with 
URL: https://github.com/apache/commons-lang/pull/506#issuecomment-606248887
 
 
   > Hi All,
   > 
   > Before we make this class heavier, let's step back and consider what Java 8's \
own [Duration](https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html) and \
[Period](https://docs.oracle.com/javase/8/docs/api/java/time/Period.html) classes \
have to offer and how this class should interact/interface with these.  
   +1
   
   I had a quick look at the code, but didn't want to prepare a review before \
checking if we run the risk of needing one more test to display time zone with micro \
seconds, and yet more methods for other things.  
   Good idea on looking at the SDK classes first.
 
----------------------------------------------------------------
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: 412593)
    Time Spent: 1h 20m  (was: 1h 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: 1h 20m
> 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)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic