2019-02-25 14:48:22 +01:00
|
|
|
/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
|
2013-11-13 09:41:06 +01:00
|
|
|
|
|
|
|
#ifndef TIMEPERIODTASK_H
|
|
|
|
#define TIMEPERIODTASK_H
|
|
|
|
|
2014-05-25 16:23:35 +02:00
|
|
|
#include "icinga/timeperiod.hpp"
|
2013-11-13 09:41:06 +01:00
|
|
|
|
|
|
|
namespace icinga
|
|
|
|
{
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Test timeperiod functions.
|
|
|
|
*
|
|
|
|
* @ingroup methods
|
|
|
|
*/
|
|
|
|
class TimePeriodTask
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static Array::Ptr EmptyTimePeriodUpdate(const TimePeriod::Ptr& tp, double begin, double end);
|
|
|
|
static Array::Ptr EvenMinutesTimePeriodUpdate(const TimePeriod::Ptr& tp, double begin, double end);
|
|
|
|
|
|
|
|
private:
|
2018-01-04 04:25:35 +01:00
|
|
|
TimePeriodTask();
|
2013-11-13 09:41:06 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2014-04-08 09:11:54 +02:00
|
|
|
#endif /* TIMEPERIODTASK_H */
|