icinga2/lib/methods/timeperiodtask.hpp

29 lines
503 B
C++
Raw Normal View History

/* Icinga 2 | (c) 2012 Icinga GmbH | GPLv2+ */
#ifndef TIMEPERIODTASK_H
#define TIMEPERIODTASK_H
2014-05-25 16:23:35 +02:00
#include "icinga/timeperiod.hpp"
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:
TimePeriodTask();
};
}
#endif /* TIMEPERIODTASK_H */