#include <calendaritem.h>
Public Member Functions | |
MonthlyCalendarItem ()=default | |
MonthlyCalendarItem (const CalendarItem::Point &point, const std::string &title, int day) | |
bool | init (utility::ErrorState &errorState) override |
bool | setDay (int day) |
int | getDay () const |
virtual bool | active (SystemTimeStamp timeStamp) const override |
![]() | |
CalendarItem ()=default | |
CalendarItem (const Point &point, const std::string &title) | |
void | setTitle (const std::string &title) |
const std::string & | getTitle () const |
void | setDescription (const std::string &description) |
const std::string & | getDescription () const |
bool | setPoint (const Point &point) |
const Point & | getPoint () const |
bool | setTime (const Time &time) |
const Time & | getTime () const |
void | setDuration (const Time &duration) |
const Time & | getDuration () const |
![]() | |
Resource () | |
![]() | |
Object () | |
virtual | ~Object () |
virtual void | onDestroy () |
Object (Object &)=delete | |
Object & | operator= (const Object &)=delete |
Object (Object &&)=delete | |
Object & | operator= (Object &&)=delete |
Public Attributes | |
int | mDay = 1 |
Property: 'Day' day of the month (1-31) More... | |
![]() | |
std::string | mTitle = "" |
Property: 'Title' item title. More... | |
Point | mPoint |
Property; 'Point' point in time together with duration. More... | |
std::string | mDescription = "" |
Property: 'Description' item description. More... | |
![]() | |
std::string | mID |
Property: 'mID' unique name of the object. Used as an identifier by the system. More... | |
Additional Inherited Members | |
![]() | |
static bool | isIDProperty (rtti::Instance &object, const rtti::Property &property) |
Monthly recurring calendar item.
|
default |
MonthlyCalendarItem | ( | const CalendarItem::Point & | point, |
const std::string & | title, | ||
int | day | ||
) |
|
overridevirtual |
timeStamp | time to validate |
Implements CalendarItem.
int getDay | ( | ) | const |
|
overridevirtual |
Reimplemented from CalendarItem.
bool setDay | ( | int | day | ) |
Sets the day of the month, ensures the day is in range (1-31).
day | the new day of the month (1-31) |
int mDay = 1 |
Property: 'Day' day of the month (1-31)