Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added code to process RRULE in CalendarEventObject.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 24 Jan 2016 15:13:47 +0000 (15:13 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 24 Jan 2016 15:13:47 +0000 (15:13 +0000)
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