Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Replace most RecurranceRuleData structure with RecurranceRuleDataTokens.
[xestiacalendar/.git] / source / objects / calendarevent / CalendarEvent.cpp
index f5454e7..42b1a33 100644 (file)
@@ -737,4 +737,22 @@ void CalendarEventObject::ProcessData(){
                
        }
        
+       // Process the data from RRULE.
+       
+       DataReceived = ProcessTextVectors(&ObjectName, &ObjectData, false, "RRULE");
+       
+       if (DataReceived.begin() != DataReceived.end()){
+       
+               try {
+                       RecurranceRuleDataTokens = DataReceived.begin()->first.substr(6);
+               }
+               
+               catch(const out_of_range &oor){
+                       // Do nothing as there is no data.
+               }               
+               
+               RecurranceRuleData = DataReceived.begin()->second;
+               
+       }
+       
 }
Xestia Software Development
Yn Maystri
© 2006 - 2019 Xestia Software Development
Software

Xestia Address Book
Xestia Calendar
Development

Xestia Gelforn
Everything else

About
News
Privacy Policy