The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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