Re: How can I add a duration object to a DateTime Set max object?

2004-12-01 Thread fglock
Ron Hill said: I would like to be able to change the max and min values that are in a DateTime Set object. Here is a test script that demonstrates my problem. [...] #generate a monthly set object that has min set to the first day of the month # max set to last day of the month my

Re: How can I add a duration object to a DateTime Set max object?

2004-12-01 Thread fglock
Ron Hill wrote: Do you think we can add to the docs to state these are getter methods? something like * min / max [...] These methods are getter methods meaning you can't use it to set/change the value. How about: These methods return a copy of the actual boundary values,

Re: Small mistakes in DateTime advent writeup

2004-12-01 Thread John Siracusa
On Wed, 1 Dec 2004 12:28:35, Dave Rolsky [EMAIL PROTECTED] wrote: I strongly dislike combined get/set methods, and they won't appear in DateTime. I recall that discussion from a while back but I don't remember your reasons. Can you briefly reiterate them? -John

Re: Good press for DateTime

2004-12-01 Thread Dave Rolsky
On Wed, 1 Dec 2004, John Siracusa wrote: On Wed, 1 Dec 2004 12:21:11, Dave Rolsky [EMAIL PROTECTED] wrote: http://perladvent.org/2004/1st/ From the article: # what year are we in? my $year = DateTime-now-year; Another victim of the failure to (attempt to) default to local time! ;) I think

Re: Small mistakes in DateTime advent writeup

2004-12-01 Thread Dave Rolsky
On Wed, 1 Dec 2004, John Siracusa wrote: On Wed, 1 Dec 2004 12:28:35, Dave Rolsky [EMAIL PROTECTED] wrote: I strongly dislike combined get/set methods, and they won't appear in DateTime. I recall that discussion from a while back but I don't remember your reasons. Can you briefly reiterate them?

Re: Good press for DateTime

2004-12-01 Thread John Siracusa
On Wed, 1 Dec 2004 13:23:24, Dave Rolsky [EMAIL PROTECTED] wrote: If someone gets local to work on Win32, it might be considerable. Until then, it's not. Ooo, a glimmer of hope! :) Too bad I don't do any Perl on Win32hrm. -John

Win32 Time Zone [was: Good press for DateTime]

2004-12-01 Thread fglock
On Wed, 1 Dec 2004, John Siracusa wrote: On Wed, 1 Dec 2004 12:21:11, Dave Rolsky [EMAIL PROTECTED] wrote: http://perladvent.org/2004/1st/ From the article: # what year are we in? my $year = DateTime-now-year; Another victim of the failure to (attempt to) default to

Re: Good press for DateTime

2004-12-01 Thread Dave Rolsky
On Wed, 1 Dec 2004, John Siracusa wrote: On Wed, 1 Dec 2004 13:23:24, Dave Rolsky [EMAIL PROTECTED] wrote: If someone gets local to work on Win32, it might be considerable. Until then, it's not. Ooo, a glimmer of hope! :) Too bad I don't do any Perl on Win32hrm. And from what I can tell this