NAME

App::MonM::Notifier::Util - Utility tools

VERSION

Version 1.01

SYNOPSIS

use App::MonM::Notifier::Util;

DESCRIPTION

Utility tools

checkPubDate

my $status = checkPubDate( $user_config_struct, $channel_name );

Returns the sign (BOOL) of the permission to send a message (allowed or not allowed) by public date

getPeriods

my %periods = getPeriods( $user_config_struct );
my %periods = getPeriods( $user_config_struct, $channel_name );

This function returns periods on everyday of week for all channels or only for specified

Format of the returned hash-structure:

monday => [start_time, finish_time],

HISTORY

See Changes file

DEPENDENCIES

CTK

TO DO

See TODO file

BUGS

* none noted

SEE ALSO

CTK

AUTHOR

Serż Minus (Sergey Lepenkov) http://www.serzik.com <abalama@cpan.org>

COPYRIGHT

Copyright (C) 1998-2019 D&D Corporation. All Rights Reserved

LICENSE

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See LICENSE file and https://dev.perl.org/licenses/