Dave Rolsky wrote:
> 
> On Wed, 11 Jun 2003 [EMAIL PROTECTED] wrote:
...
> >   sub is_positive { $_[0]->{sign} == 1 ? 1 : 0 }
> >
> > which makes a zero-duration be "not positive",
> > because sign is zero.
> 
> That was an intentional change.  Zero isn't positive, is it?

That's right. 
I asked it because DT::Format::ICal tests
are failing, because a zero-duration is
being tested with "is_positive".

BTW, do we need DT::Duration->is_zero ?

- Flavio S. Glock

Reply via email to