Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

Octopussy::TimePeriod - Octopussy TimePeriod module

Author

       Sebastien Thebert <octo.devel@gmail.com>

perl v5.22.2                                       2016-05-04                           Octopussy::TimePeriod(3)

Functions

New($conf)
       Create a new Timeperiod

   Remove($timeperiod)
       Remove a Timeperiod

   List()
       Returns List of Timeperiods

   Configuration($tp_name)Configurations($sort)
       Returns TimePeriods COnfigurations sorted by '$sort' (default: 'label')

   Match($timeperiod,$datetime)
       Checks if $datetime (format: 'dayname hour:min') matches TimePeriod $timeperiod

   Valid_Name($name)
       Checks that '$name' is valid for a TimePeriod name

Name

       Octopussy::TimePeriod - Octopussy TimePeriod module

See Also