Re: DateTime::Span - a span created with before has the same range as a span created with end
[email protected] (Zefram)
| Newsgroups | perl.datetime |
|---|---|
| Message-ID | <[email protected]> |
Terrence Brannon wrote: >Intuitively, it would seem that specifying the 'before' of a datetime >span using the end option of the ->from_datetimes() constructor would >yield a range that is 1 second (1 nanosecond?) earlier than the actual >date supplied. I would not find that intuitive. Your 1 second or 1 nanosecond would be a completely arbitrary mutation of the supplied data. Whether the endpoint is included in or excluded from the span needs to be accessible somehow, but it's not a finite difference in where the endpoint is. -zefram