DateTime-Set

 view release on metacpan or  search on metacpan

t/19spanset_daylight_savings.t  view on Meta::CPAN


use strict;
use warnings;

use Test::More;

use DateTime;
use DateTime::SpanSet;


# Check that SpanSets return spans with the correct endpoints during daylight
# savings changeovers given a weekly recurrence.

BEGIN {
    if (eval 'use DateTime::Event::Recurrence; 1') {
        plan tests => 552;
    }
    else {
        plan skip_all => 'DateTime::Event::Recurrence required for this test.';
    }
}

t/20spanset_week_wrapped_recurrence.t  view on Meta::CPAN


use strict;
use warnings;

use Test::More;

use DateTime;
use DateTime::SpanSet;


# Check that SpanSets return Spans with the correct endpoints given
# the same week recurrence as its starting and ending sets.

BEGIN {
    if (eval 'use DateTime::Event::Recurrence; 1') {
        plan tests => 60;
    }
    else {
        plan skip_all => 'DateTime::Event::Recurrence required for this test.';
    }
}

 view all matches for this distribution
 view release on metacpan -  search on metacpan

( run in 1.717 second using v1.00-cache-2.02-grep-82fe00e-cpan-4673cadbf75 )