mageekguy/atoum — pull request #127 by artragis (2012-10-08 11:33:08+00:00)
Title: add a dateInterval asserter

the php dateTime API has an interval functionality.
As Atoum has an asserter dedicated to dateTime it adds consistency to develop a dateInterval asserter too.

Moreover, DateIntervals have some behaviours that can be weird when we test. For example isIdenticalTo method can't work as a interval of 1 day constructed with "new DateInterval('1D') is not identical to an interval produced by the dateTime::diff method : a days field get a value when we use diff.