On Wed, 5 Feb 2003, Peter J. Acklam wrote:

> I think both behaviours ("normalization" and throwing an error)
> are useful, so how about adding options to the constructor, so one
> can use
>
>    my $dt = DateTime->new( VALIDATE = 0,
>                            hour => 7,
>                            minute => 75,
>                          );
>
> to enable/disable validation of arguments.
>
> I'm sorry if this has been discussed before (and rejected).

Nope, hasn't really been discussed.  It's not an unreasonable idea.  I'll
add it to the todo list.


-dave

/*=======================
House Absolute Consulting
www.houseabsolute.com
=======================*/

Reply via email to