Re: ANNOUNCE: DateTime 0.21

2004-03-29 Thread Dave Rolsky
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

Re: ANNOUNCE: DateTime 0.21

2004-03-29 Thread Joshua Hoblitt
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

ANNOUNCE: DateTime 0.21

2004-03-28 Thread Dave Rolsky
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

Re: ANNOUNCE: DateTime 0.21

2004-03-28 Thread Eugene van der Pijll
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