From ce990a903885d5ada3cb21e3270e8da527065b22 Mon Sep 17 00:00:00 2001 From: Steve Brokenshire Date: Sat, 23 Jan 2016 13:09:36 +0000 Subject: [PATCH] Added initial version of processing DTSTAMP. --- source/objects/calendarevent/CalendarEvent.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/source/objects/calendarevent/CalendarEvent.cpp b/source/objects/calendarevent/CalendarEvent.cpp index 87e5a8c..6c1887d 100644 --- a/source/objects/calendarevent/CalendarEvent.cpp +++ b/source/objects/calendarevent/CalendarEvent.cpp @@ -123,4 +123,18 @@ void CalendarEventObject::ProcessData(){ // Process the data. + multimap DataReceived; + + // Get the Date Time Stamp (DTSTAMP). + + DataReceived = ProcessTextVectors(&ObjectName, &ObjectData, false, "DTSTAMP"); + + // Process the data. + + if (DataReceived.begin() != DataReceived.end()){ + + DateTimeStampData = DataReceived.begin()->second; + + } + } -- 2.39.5