hamcrest/JavaHamcrest — pull request #6 by stewbis (2012-08-22 06:14:37+00:00)
Title: Date Matchers

Hi,

I've added a suite of date matchers which add support for testing if the date is before, after, or within a time period. There are also matchers for testing if a date is the same hour, second, minute, year, etc.

I've added them to the matchers.xml and also setup unit tests, however they use the annotations so aren't invoked by your ant script but if you're happy with the code I can port these over to base off TestCase

When you get some time could you review the changes and consider them for inclusion.

Best Regards

Stewbis