+ if (DateTimeEndProcessed == false){
+
+ // Process the data from DURATION if DTEND
+ // hasn't already been processed.
+
+ 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;
+
+ }
+
+ }
+