Re: RFC:: DateTime::Span::Common

[email protected] (Zefram)
Newsgroups perl.datetime
Message-ID <[email protected]>
Terrence Brannon wrote:
>Yes, I would determine that aribtrary 1 second or nanosecond based on
>the data in my database tables. a MySQL BETWEEN clause includes its
>endpoints.

BETWEEN, then, is not the right way to express an open or half-open
interval.  If you're going to add anything to DT::Span, add a method that
generates the correct SQL expression, taking account of the openness of
each end of the interval.

-zefram
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.