Hi Andreas,
It does need to be documented, but to explain:
$dt-compare follows the behavior of `cmp` and ``.
- Rick
On Thu, 10
Oct 2013 10:07:02 +0200, Andreas Isberg wrote:
Hi,
The
documentation does not specify what What does
DateTime::Duration-compare() returns.
From some
Hi,
The documentation does not specify what What does
DateTime::Duration-compare() returns.
From some testing I've done it seems like it
- 1 if the first duration is larger than the second,
- 0 if the durations are equal
- -1 is the second duration is larger than the first
Can anyone