10 | 10 |
use Params::Validate qw(:all);
|
11 | 11 |
use vars qw( $VERSION @ISA );
|
12 | 12 |
@ISA = qw( Exporter );
|
13 | |
$VERSION = '0.12';
|
|
13 |
$VERSION = '0.13';
|
14 | 14 |
|
15 | 15 |
use constant INFINITY => 100 ** 100 ** 100 ;
|
16 | 16 |
use constant NEG_INFINITY => -1 * (100 ** 100 ** 100);
|
|
690 | 690 |
|
691 | 691 |
use DateTime;
|
692 | 692 |
use DateTime::Event::ICal;
|
693 | |
|
|
693 |
|
694 | 694 |
my $dt = DateTime->new( year => 2000,
|
695 | 695 |
month => 6,
|
696 | 696 |
day => 20,
|
|
728 | 728 |
|
729 | 729 |
=item recur
|
730 | 730 |
|
731 | |
This method returns a C<DateTime::Set> object representing the
|
|
731 |
This method returns a L<DateTime::Set> object representing the
|
732 | 732 |
given recurrence.
|
733 | 733 |
|
734 | 734 |
my $set = DateTime::Event::ICal->recur( %args );
|
|
742 | 742 |
|
743 | 743 |
=item * dtstart
|
744 | 744 |
|
745 | |
A DateTime object, which is the start date.
|
|
745 |
A L<DateTime> object, which is the start date.
|
746 | 746 |
|
747 | 747 |
This datetime is not included in the recurrence, unless it satisfies
|
748 | 748 |
the recurrence's rules.
|
|
844 | 844 |
used in conjunction with one of the other "by..." parameters.
|
845 | 845 |
|
846 | 846 |
See RFC 2445, section 4.3.10 for more details.
|
|
847 |
|
|
848 |
=back
|
847 | 849 |
|
848 | 850 |
=back
|
849 | 851 |
|
|
871 | 873 |
|
872 | 874 |
datetime@perl.org mailing list
|
873 | 875 |
|
874 | |
DateTime Web page at http://datetime.perl.org/
|
875 | |
|
876 | |
DateTime
|
877 | |
|
878 | |
DateTime::Event::Recurrence - simple rule-based recurrences
|
879 | |
|
880 | |
DateTime::Format::ICal - can parse rfc2445 recurrences
|
881 | |
|
882 | |
DateTime::Set - recurrences defined by callback subroutines
|
883 | |
|
884 | |
DateTime::Event::Cron - recurrences defined by "cron" rules
|
885 | |
|
886 | |
DateTime::SpanSet
|
887 | |
|
888 | |
RFC2445 - Internet Calendaring and Scheduling Core Object
|
889 | |
Specification - http://www.ietf.org/rfc/rfc2445.txt
|
|
876 |
L<DateTime Web page|http://datetime.perl.org/>
|
|
877 |
|
|
878 |
The L<DateTime> module.
|
|
879 |
|
|
880 |
L<DateTime::Event::Recurrence> - simple rule-based recurrences.
|
|
881 |
|
|
882 |
L<DateTime::Format::ICal> - can parse rfc2445 recurrences.
|
|
883 |
|
|
884 |
L<DateTime::Set> - recurrences defined by callback subroutines.
|
|
885 |
|
|
886 |
L<DateTime::Event::Cron> - recurrences defined by "cron" rules.
|
|
887 |
|
|
888 |
L<DateTime::SpanSet>
|
|
889 |
|
|
890 |
L<RFC2445|http://www.ietf.org/rfc/rfc2445.txt> -
|
|
891 |
Internet Calendaring and Scheduling Core Object Specification.
|
890 | 892 |
|
891 | 893 |
=cut
|
892 | 894 |
|