Hi Flavio,
Ron Hill wrote:
Do you think we can add to the docs to state these
are getter methods? something like
(snipped)
How about:
These methods return a copy of the actual
boundary values, meaning you can't use them to
set/change the value.
That sounds much
Ron Hill wrote:
Actually I run the reports on the first of the
month for the previous
month so I had to do this
my $month = DateTime-today-truncate( to =
'month' )-subtract( months =1);
$dt_span = DateTime::Span-from_datetimes(
start = $month-clone,
On Thu, 2 Dec 2004 13:02:16 GMT, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Ron Hill wrote:
Actually I run the reports on the first of the month for the previous
month so I had to do this
my $month = DateTime-today-truncate(to = 'month')-subtract(months=1);
[...]
This one behaves better - it
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
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,