#include <WinRecurrence.h>
Inheritance diagram for WinRecurrence:
Public Member Functions | |
WinRecurrence () | |
Default Constructor. | |
WinRecurrence (const wstring dataString, const DATE startDate=0) | |
Constructor: fills propertyMap parsing the vCalendar RRULE string. | |
~WinRecurrence () | |
Destructor. | |
int | parse (const wstring dataString, const DATE startDate=0) |
Parse a vCalendar RRULE string and fills the propertyMap. | |
wstring & | toString () |
Format and return a vCalendar RRULE string from the propertyMap. | |
const int | getIntProperty (const wstring propertyName) |
Alternate method to get a property, returns an int value. | |
void | setIntProperty (const wstring propertyName, const int propertyValue) |
Alternate method to set a property, passing an int value. | |
Private Attributes | |
wstring | rrule |
Internal string formatted (RRULE). |
The object can be filled passing a vCalendar RRULE string, or filling directly the map. Calling 'toString()' a vCalendar RRULE is formatted and returned.
WinRecurrence::WinRecurrence | ( | const wstring | dataString, | |
const DATE | startDate = 0 | |||
) |
Constructor: fills propertyMap parsing the vCalendar RRULE string.
dataString | input RRULE string to parse | |
startDate | start date (double format) of the correspondent event/task |
int WinRecurrence::parse | ( | const wstring | dataString, | |
const DATE | startDate = 0 | |||
) |
Parse a vCalendar RRULE string and fills the propertyMap.
dataString | input RRULE string to parse | |
startDate | start date (double format) of the correspondent event/task |