The `/etc/icinga2/conf.d/timeperiods.conf` file is usually used to define
timeperiods including this one.
+Runtime Attributes:
+
+ Name | Type | Description
+ --------------------------|---------------|-----------------
+ is\_insidek | Boolean | Whether we're currently inside this timeperiod.
## <a id="objecttype-scheduleddowntime"></a> ScheduledDowntime
}
}
+bool TimePeriod::GetIsInside(void) const
+{
+ return IsInside(Utility::GetTime());
+}
+
bool TimePeriod::IsInside(double ts) const
{
ObjectLock olock(this);
void UpdateRegion(double begin, double end, bool clearExisting);
+ virtual bool GetIsInside(void) const;
+
bool IsInside(double ts) const;
double FindNextTransition(double begin);
[state] Value valid_begin;
[state] Value valid_end;
[state] Array::Ptr segments;
+ [no_storage] bool is_inside {
+ get;
+ };
};
}