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
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
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