Update change log and spec for wrt-plugins-tizen_0.2.84
[framework/web/wrt-plugins-tizen.git] / src / platform / API / Calendar / EventRecurrenceRule.cpp
index 459a4a8..8519cf3 100755 (executable)
@@ -29,7 +29,11 @@ EventRecurrenceRule::EventRecurrenceRule()
     m_interval = DEFAULT_INTERVAL;
     m_endDate = UNDEFINED_TIME;
     m_occurrenceCount = -1;
+    StringArrayPtr stringArrayPtr(new StringArray());
+    m_daysOfTheWeek = stringArrayPtr;
     m_setPosition = false;
+    NumberArrayPtr numberArrayPtr(new NumberArray());
+    m_exceptions = numberArrayPtr;
     m_timeZone = DEFAULT_TIMEZONE;
 }
 
@@ -86,12 +90,12 @@ void EventRecurrenceRule::setDaysOfTheMonth(std::vector<int> value)
     m_daysOfTheMonth = value;
 }
 
-std::vector<std::string> EventRecurrenceRule::getDaysOfTheWeek() const
+StringArrayPtr EventRecurrenceRule::getDaysOfTheWeek() const
 {
     return m_daysOfTheWeek;
 }
 
-void EventRecurrenceRule::setDaysOfTheWeek(std::vector<std::string> value)
+void EventRecurrenceRule::setDaysOfTheWeek(StringArrayPtr value)
 {
     m_daysOfTheWeek = value;
 }
@@ -126,12 +130,12 @@ void EventRecurrenceRule::setSetPosition(bool value)
     m_setPosition = value;
 }
 
-std::vector<long long int> EventRecurrenceRule::getExceptions() const
+NumberArrayPtr EventRecurrenceRule::getExceptions() const
 {
     return m_exceptions;
 }
 
-void EventRecurrenceRule::setExceptions(std::vector<long long int> value)
+void EventRecurrenceRule::setExceptions(NumberArrayPtr value)
 {
     m_exceptions = value;
 }