Acme-PM-Paris-Meetings

 view release on metacpan or  search on metacpan

lib/Acme/PM/Paris/Meetings.pm  view on Meta::CPAN

Returns a new DateTime::Set from which you can get the date/time of the planned
Paris.pm meeting for the following months.

=cut

sub recurrence
{
    my $dtstart = @_
                ? $_[0]
                : DateTime->now(time_zone => 'Europe/Paris',
                                locale => 'fr_FR')
                                ->truncate(to => 'day');
    DateTime::Format::ICal->parse_recurrence(
        recurrence => ical(),
        dtstart => $dtstart,
    );
}

=head2 next_meeting

Convenience function that returns the date/time of the next Paris.pm meeting

script/paris-pm  view on Meta::CPAN

=head1 NAME

paris-pm - Get Paris.pm meetings dates

=head1 SYNOPSIS

paris-pm [-V|--version] [-<nnn>]

=head1 EXAMPLES

Get the next meeting date, in the french locale:

    paris-pm

Get the dates of the next 3 planned meetings:

    paris-pm -3

Check Acme::PM::Paris::Meetings version:

    paris-pm -V



( run in 1.910 second using v1.01-cache-2.11-cpan-5511b514fd6 )