logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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