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

Add StopWatch.getStopTime()

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 3.12.0
    • lang.time.*
    • 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

            Unassigned Unassigned
            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