Describes a clendar item for a time based Rule. More...
Header: | #include <CalendarItem> |
CalendarItem() | |
QDateTime | dateTime() const |
uint | duration() const |
bool | evaluate(const QDateTime & dateTime) const |
bool | isValid() const |
RepeatingOption | repeatingOption() const |
void | setDateTime(const QDateTime & dateTime) |
void | setDuration(const uint & duration) |
void | setRepeatingOption(const RepeatingOption & repeatingOption) |
void | setStartTime(const QTime & startTime) |
QTime | startTime() const |
Describes a clendar item for a time based Rule.
See also Rule and TimeDescriptor.
Construct a invalid CalendarItem.
Returns the date time of this CalendarItem.
See also setDateTime().
Returns the duratiorn of this CalendarItem.
See also setDuration().
Returns true, if the given dateTime matches this CalendarItem.
Returns true if this CalendarItem is valid. A CalendarItem is invalid if start time and datetime are set or if the duration is 0.
Returns the RepeatingOption of this CalendarItem.
See also setRepeatingOption().
Sets the dateTime of this CalendarItem.
See also dateTime().
Sets the duration of this CalendarItem.
See also duration().
Sets the repeatingOption of this CalendarItem.
See also repeatingOption().
Sets the startTime of this CalendarItem.
See also startTime().
Returns the start time of this CalendarItem.
See also setStartTime().