Re: DateTime::Format::ISO8601 interface questions...

2003-07-03 Thread Joshua Hoblitt
> Probably for unambiguous cases we should just allow: > > $iso->parse_datetime($string) I did that. > For more complex cases we can do: > > $iso->parse_datetime( datetime => $string, >... # extra params > ) I went with $iso->parse_time as the 6 amb

Re: DateTime::Format::ISO8601 interface questions...

2003-07-03 Thread Ben Bennett
Cool, that is the method that I have started on. -ben On Thu, Jul 03, 2003 at 01:03:09PM -0500, Dave Rolsky wrote: > On Thu, 3 Jul 2003, Ben Bennett wrote: > > > There is a lot to work out, but once the interface is clear it should > > be very quick to implement. > > > > Do you hav

Re: DateTime::Format::ISO8601 interface questions...

2003-07-03 Thread Dave Rolsky
On Thu, 3 Jul 2003, Ben Bennett wrote: > There is a lot to work out, but once the interface is clear it should > be very quick to implement. > > Do you have any suggestions for what the interface should be or should > I just take a whack at it and see what people think? Probably for unambiguous c

Re: DateTime::Format::ISO8601 interface questions...

2003-07-03 Thread Ben Bennett
There is a lot to work out, but once the interface is clear it should be very quick to implement. Do you have any suggestions for what the interface should be or should I just take a whack at it and see what people think? -ben On Thu, Jul 03, 2003 at 11:43:03AM -0500, Dave Rolsky w

Re: DateTime::Format::ISO8601 interface questions...

2003-07-03 Thread Dave Rolsky
On Thu, 3 Jul 2003, Ben Bennett wrote: > > I am not sure what interface to use for the advanced features of the > ISO8601 parser I wrote. Right now I use a quick hack to make it work > so I can test the parser. It should be easy for me to change the > interface to something sane, I just don't kn

DateTime::Format::ISO8601 interface questions...

2003-07-03 Thread Ben Bennett
I am not sure what interface to use for the advanced features of the ISO8601 parser I wrote. Right now I use a quick hack to make it work so I can test the parser. It should be easy for me to change the interface to something sane, I just don't know what that should be. The basic usage should b