Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-2602

TimeDuration should override toString

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.5.4
    • 1.6-rc-1, 1.5.8, 1.7-beta-1
    • groovy-jdk
    • None

    Description

      This would be very useful and trivial to implement.

      An example of possible output is: '4 days, 12 hrs, 30 mins, 0.500 secs'. See implementation at http://groovy.codehaus.org/JN0545-Dates.

      Attachments

        Activity

          People

            guillaume Guillaume Sauthier
            balexand Brian Alexander
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: