ews-cpp  0.9
Public Member Functions | List of all members
ews::absolute_monthly_recurrence Class Referencefinal

An event that occurs on the same day each month or monthly interval. More...

#include <ews.hpp>

Inheritance diagram for ews::absolute_monthly_recurrence:
ews::recurrence_pattern

Public Member Functions

 absolute_monthly_recurrence (uint32_t interval, uint32_t day_of_month)
 
uint32_t get_days_of_month () const EWS_NOEXCEPT
 
uint32_t get_interval () const EWS_NOEXCEPT
 
std::string get_occurence_name () override
 
- Public Member Functions inherited from ews::recurrence_pattern
std::string to_xml () const
 
rapidxml::xml_node & to_xml_element (rapidxml::xml_node<> &parent) const
 Creates a new XML element for this recurrence pattern and appends it to given parent node. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from ews::recurrence_pattern
static std::unique_ptr< recurrence_patternfrom_xml_element (const rapidxml::xml_node<> &elem)
 Makes a recurrence_pattern instance from a <Recurrence> XML element.
 

Detailed Description

An event that occurs on the same day each month or monthly interval.

A good example is payment of a rent that is due on the second of each month.

auto rent_is_due = ews::absolute_monthly_recurrence(1, 2);

The interval parameter indicates the interval in months between each time zone. For example, an interval value of 1 would yield an appointment occurring twelve times a year, a value of 6 would produce two occurrences a year and so on.


The documentation for this class was generated from the following file: