NAME

DynGig::Schedule::Period - Calculate schedule according to a config file

SYNOPSIS

use DynGig::Schedule::Period

my $period = DynGig::Schedule::Period->new
(
    config => 'config.yaml',
    period => [ $start_time, $end_time ],
);

METHODS

schedule()

Determine the schedule. Returns ARRAY in list context. Returns ARRAY reference in scalar context.

search( time )

Determine the escalation at the time. Returns ARRAY in list context. Returns ARRAY reference in scalar context.

NOTE

See DynGig::Schedule