groovy

TimeDuration should override toString

Details

  • Type: Improvement Improvement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.5.4
  • Fix Version/s: 1.6-rc-1, 1.5.8, 1.7-beta-1
  • Component/s: groovy-jdk
  • Labels:
    None
  • Number of attachments :
    0

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.

Activity

Hide
Jonathan Duty added a comment -

I'd be happy to give this a try

Show
Jonathan Duty added a comment - I'd be happy to give this a try
Hide
Guillaume Laforge added a comment -

Jonathan, you wanted to give it a try, any update on this?

Show
Guillaume Laforge added a comment - Jonathan, you wanted to give it a try, any update on this?
Hide
Guillaume Laforge added a comment -

I implemented the approach suggested.

Show
Guillaume Laforge added a comment - I implemented the approach suggested.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: