Home | News | Projects | Releases
Bugs | RFE | Repositories | Help
Added code to process RRULE in CalendarTaskObject.
authorSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 31 Jan 2016 12:48:08 +0000 (12:48 +0000)
committerSteve Brokenshire <sbrokenshire@xestia.co.uk>
Sun, 31 Jan 2016 12:48:08 +0000 (12:48 +0000)
source/objects/calendartask/CalendarTask.cpp

index 57c288e..36e44a3 100644 (file)
@@ -719,4 +719,22 @@ void CalendarTaskObject::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;
+               
+       }
+       
 }
\ No newline at end of file
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