Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 ( [id://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?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-19 07:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found