}
// Check if the VEVENT is valid.
-
+
if (ValidBegin == true &&
ValidEnd == true &&
ValidDateTimeStamp == true &&
DataReceived = ProcessTextVectors(&ObjectName, &ObjectData, false, "DURATION");
if (DataReceived.begin() != DataReceived.end()){
-
- try {
- DurationDataTokens = DataReceived.begin()->first.substr(9);
- }
-
- catch(const out_of_range &oor){
- // Do nothing as there is no data.
- }
DurationData = DataReceived.begin()->second;