Link Details

Link 130034 thumbnail
User 111696 avatar

By bloid
via stateyourbizness.blogspot.com
Published: Oct 29 2008 / 14:38

Recently I was attempting to create a Range representing the difference between two DateTime values so I could assert in a test that a date time value fell into that range. I was using Joda Time's DateTime class. The java.util.Date class is compatible with Groovy's ObjectRange becuase it's decorated with next and previous methods by the GDK.
  • 7
  • 0
  • 1431
  • 252

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (7)



Voters Against This Link (0)