On Sun, 28 Mar 2004, Eugene van der Pijll wrote:
Is it possible to detect mixed durations other than checking all of
is_positive, is_zero and is_negative? For example by adding an is_mixed
method?
Something like that, with a better name than is_mixed would be good.
Name suggestions, anyone
On Mon, 29 Mar 2004, Dave Rolsky wrote:
On Sun, 28 Mar 2004, Eugene van der Pijll wrote:
Is it possible to detect mixed durations other than checking all of
is_positive, is_zero and is_negative? For example by adding an is_mixed
method?
Something like that, with a better name than
0.21 2004-03-28 (The Another YAPC::Taipei release party release
release)
[ *** BACKWARDS INCOMPATIBILITIES *** ]
- When given mixed positive negative arguments, DateTime::Duration
no longer forces all arguments to be negative.
- For mixed durations, the is_positive, is_zero, and is_negative
Dave Rolsky wrote:
- When given mixed positive negative arguments, DateTime::Duration
no longer forces all arguments to be negative.
- For mixed durations, the is_positive, is_zero, and is_negative
methods all return false.
Is it possible to detect mixed durations other than checking all