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

Add StopWatch.getStopTime()

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.12.0
    • Component/s: lang.time.*
    • Labels:
      None

      Description

      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

      stopWatch.getStartTime() + stopWatch.getTime();
      

      but it might be nice to just add a getter.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              keegan Keegan Witt
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 0.5h
                0.5h