You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Keegan Witt (Jira)" <ji...@apache.org> on 2020/12/03 04:22:00 UTC
[jira] [Commented] (LANG-1359) Add StopWatch.getStopTime()
[ https://issues.apache.org/jira/browse/LANG-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17242900#comment-17242900 ]
Keegan Witt commented on LANG-1359:
-----------------------------------
LGTM. I should have made a PR for this myself years ago, I'd forgotten about it. Thanks for following up on it.
> Add StopWatch.getStopTime()
> ----------------------------
>
> Key: LANG-1359
> URL: https://issues.apache.org/jira/browse/LANG-1359
> Project: Commons Lang
> Issue Type: Improvement
> Components: lang.time.*
> Reporter: Keegan Witt
> Priority: Minor
> Fix For: 3.12
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Someone I know recently had a use case where they needed to retrieve the stopTime for a timer. I know this could be inferred from
> {code:java}
> stopWatch.getStartTime() + stopWatch.getTime();
> {code}
> but it might be nice to just add a getter.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)