Flavio S. Glock wrote:
Sets of type 4 are 'huge sets'. These have an 'unknown' count. The
count
can be thousands or even millions of dates, but it is not infinite.
- or two or three -
Before version 0.10, you would run out of memory if you specified
something like all seconds in the century.
Rick Measham wrote:
Flavio S. Glock wrote:
Sets of type 4 are 'huge sets'. These have an 'unknown' count. The
count
can be thousands or even millions of dates, but it is not infinite.
- or two or three -
Two or three are ok :)
Before version 0.10, you would run out of memory if you
On Tue, 3 Sep 2003, Rick Measham wrote:
ALSO If we go this path or not, I'd prefer not to get plain undef back.
I'd like an indication that it was 'too hard to count', or that it was
'over 10,000'.
But undef means unknown, and if we can't count, we don't know how many
elements are in the set.
Dave Rolsky wrote:
On Tue, 19 Aug 2003, Flavio S. Glock wrote:
There are some cases when we don't know if a recurrence has any event at
all.
This may happen when you do an intersection of recurrences.
Otherwise, if they don't have a start and end, they are infinite, right?
On Tue, 2 Sep 2003, Flavio S. Glock wrote:
If we want to document and specify that this is an error, then the size
should be infinite. Otherwise, if we might want to allow this in the
future, undef is correct. I don't feel too terribly strongly either way.
Ok. So let's document that it
On Tue, 19 Aug 2003, Flavio S. Glock wrote:
There are some cases when we don't know if a recurrence has any event at
all.
This may happen when you do an intersection of recurrences.
Otherwise, if they don't have a start and end, they are infinite, right?
But 'undef' is ok - I'll change that.
Flavio, is there already a method to determine the number of elements in
a DateTime::Set?
If not, I can currently make it as_list, and then get the length of the
list, but it would be cleaner to have a method to do this.
Cheers!
Rick
Flavio, is there already a method to determine
the number of elements in a DateTime::Set?
If not, I can currently make it as_list, and then
get the length of the list, but it would be
cleaner to have a method to do this.
What would be a name for this method?
There is no accessor yet
--- Rick Measham [EMAIL PROTECTED] wrote:
Flavio, is there already a method to determine the
number of elements in
a DateTime::Set?
If not, I can currently make it as_list, and then
get the length of the
list, but it would be cleaner to have a method to do
this.
There is an internal