RFC: DateTime::Event::DateTime (or something)

2003-07-15 Thread Rick Measham
Attached is DateTime::Event::DateTime. No tests, no docs. This module is a very basic event module. Given parts of a datetime it can return the following, previous and closest datetime object. The module was inspired by Ben Bennet who at 8:01 PM -0400 13/7/03, wrote: I vote that you assume the n

Re: RFC: DateTime::Event::DateTime (or something)

2003-07-15 Thread Dave Rolsky
On Tue, 15 Jul 2003, Rick Measham wrote: > Will this be useful to anyone other than me? Yes, I think it's somewhat useful for end users and definitely useful other module authors. > Is there a better name? I sure hope so, because I _really_ don't want to see something called DT::Event::DT on CP

Re: RFC: DateTime::Event::DateTime (or something)

2003-07-15 Thread Rick Measham
On Tue, 15 Jul 2003, Rick Measham wrote: > Is there a better name? On Tue, 2003-07-15 at 17:41, Dave Rolsky wrote: I sure hope so, because I _really_ don't want to see something called > DT::Event::DT on CPAN! That was my thought and the reson I asked the questoin ... seemed a little confusing bu

Re: RFC: DateTime::Event::DateTime (or something)

2003-07-15 Thread Flavio S. Glock
Try this: use DateTime::Event::Recurrence; use DateTime; $seven = DateTime::Event::Recurrence->daily ( hours => [ 7, 19 ] ); print $seven->next( DateTime->now )->datetime; - Flavio S. Glock Rick Measham wrote: > > Attached is DateTime::Event::DateTime. No tests, no docs. > > This mod

Re: RFC: DateTime::Event::DateTime (or something)

2003-07-15 Thread Matt Sisk
> Is there a better name? DateTime::Event::Infer (or DT::E::Inference) DT::E::Inflate DT::E::Completion DT::E::Map DT::E::Snap ... DT::E::Crackle DT::E::Pop (last two are a joke, of course!) Matt