Duration between two dates in Groovy

Posted by UltraVi01 on Stack Overflow See other posts from Stack Overflow or by UltraVi01
Published on 2010-05-03T02:24:53Z Indexed on 2010/05/03 2:28 UTC
Read the original article Hit count: 259

Filed under:

Is there a way in Groovy to get the duration between two Date objects? The duration format I'm looking for would be something like: 2 days, 10 hours, 30 minutes...

Thanks

© Stack Overflow or respective owner

Related posts about groovy