Skip Menu |
 

This queue is for tickets about the DateTime-Set CPAN distribution.

Report information
The Basics
Id: 19020
Status: resolved
Priority: 0/
Queue: DateTime-Set

People
Owner: Nobody in particular
Requestors: jpierce [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: (no value)



Subject: Optimize behavior
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Type: text/plain; charset="utf8"
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 335
Download (untitled) / with headers
text/plain 335b
It'd be great if as_list were context (want) aware so that it could run through a simplified algorithm if one were to do: my $set = DateTime::Event::Recurrence->daily(); $days = scalar $set->as_list(start=>...), end =>...); Potentially saving many unnecessary object instantiations, etc.
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-2463-1301666757-1357.19020-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 45
this is now possible using the count() method


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.