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.
Add your comment