RFC: DateTime::extend()

2003-03-31 Thread Flavio S. Glock
In module: DateTime New method: extend() Returns a DateTime::Span after the current date. If the parameter is a date, returns the span between the two dates. If the parameter is a duration, returns the span between the current date and "date+duration". $dt_span = $dt_start->extend( until => $dt

Re: RFC: DateTime::extend()

2003-03-31 Thread Eugene van der Pijll
Flavio S. Glock schreef: > In module: DateTime > New method: extend() > Returns a DateTime::Span after the current date. I don't really like this in DateTime. I feel this functionality belongs in DateTime::Span. After all, this method is a DateTime::Span constructor. Secondly, I don't think the n

Re: RFC: DateTime::extend()

2003-03-31 Thread Dave Rolsky
On Mon, 31 Mar 2003, Flavio S. Glock wrote: > In module: DateTime > New method: extend() > > Returns a DateTime::Span after the current date. > If the parameter is a date, returns the span between the two dates. > If the parameter is a duration, returns the span between the current > date and "dat