Re: figuring out the number of sundays in a given year

2003-09-19 Thread Ron Hill
Hi Dave Josh, Dave Rolsky [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Wed, 17 Sep 2003, Hill, Ronald wrote: [snipped] Josh is confused because you're passing arguments to the day_of_week method. These arguments are completely ignored by DateTime.pm! -dave Ok, I see I

Re: figuring out the number of sundays in a given year

2003-09-19 Thread RIck Measham
Syamala Tadigadapa wrote: Here is a simple solution ... I'd hate to see your complex solution ... Rick

Re: figuring out the number of sundays in a given year

2003-09-19 Thread Dave Rolsky
On Wed, 17 Sep 2003, Ron Hill wrote: Ok, I see I can just do my $dow = $dt2-day_of_week( year = $dt-year, ); The day_of_week() method DOES NOT TAKE ARGUMENTS! I don't know what you think the code above does, but I can tell you that all it does is return the day of the

ANNOUNCE: DateTime::Set 0.11

2003-09-19 Thread Flavio S. Glock
0.11 2003-09-19 - Bugfix: $span-set_time_zone was setting start date = end date - Flavio S. Glock

Re: figuring out the number of sundays in a given year

2003-09-19 Thread Joshua Hoblitt
The day_of_week() method DOES NOT TAKE ARGUMENTS! I wonder if it's worth the overhead of checking for extraneous parameters on all methods? -J --

Re: figuring out the number of sundays in a given year

2003-09-19 Thread Dave Rolsky
On Fri, 19 Sep 2003, Joshua Hoblitt wrote: The day_of_week() method DOES NOT TAKE ARGUMENTS! I wonder if it's worth the overhead of checking for extraneous parameters on all methods? I'd rather try to keep accessors as quick as possible. -dave /*=== House Absolute