You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Arturo Bernal (Jira)" <ji...@apache.org> on 2020/11/14 10:26:00 UTC
[jira] [Commented] (LANG-1359) add getStopTime to StopWatch
[ https://issues.apache.org/jira/browse/LANG-1359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17231980#comment-17231980 ]
Arturo Bernal commented on LANG-1359:
-------------------------------------
HI [~ggregory]
PR created --> [https://github.com/apache/commons-lang/pull/650]
> add getStopTime to StopWatch
> ----------------------------
>
> 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
> Time Spent: 10m
> 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)