Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: Determine if a given DateTime is a member of a DateTime::Set

by vagabonding electron (Curate)
on May 14, 2013 at 16:07 UTC ( #1033519=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    print $biweekly->contains($date), ' ', $date->ymd, $/;
    $date->add('days' => 7);
    print $biweekly->contains($date), ' ', $date->ymd, $/;
    
  2. or download this
    C:\Perl\bin>perl N:\Perle\Learn\DateTime\pm_1033231_orig_analyse_003_h
    +.pl
    This is the set with defined 'end':
    ...
    1 2013-06-11
    1 2013-06-18
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1033519]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2023-03-20 12:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (59 votes). Check out past polls.

    Notices?