Update change log and spec for wrt-plugins-tizen_0.2.84
[framework/web/wrt-plugins-tizen.git] / src / platform / API / Calendar / EventAlarm.cpp
1 /*
2  * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * Licensed under the Apache License, Version 2.0 (the License);
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an AS IS BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17
18 #include "EventAlarm.h"
19 #include "EventRecurrenceRule.h"
20 #include <dpl/log/log.h>
21
22 namespace TizenApis {
23 namespace Api {
24 namespace Calendar {
25
26 EventAlarm::EventAlarm()
27 {
28     m_absoluteDate = UNDEFINED_TIME;
29     m_timeZone = DEFAULT_TIMEZONE;
30 }
31 EventAlarm::~EventAlarm()
32 {
33 }
34
35 long long int EventAlarm::getAbsoluteDate() const
36 {
37     return m_absoluteDate;
38 }
39 void EventAlarm::setAbsoluteDate(const long long int &value)
40 {
41     m_absoluteDate = value;
42 }
43
44 TizenApis::Api::TimeUtil::DurationProperties EventAlarm::getDuration() const
45 {
46     return m_duration;
47 }
48 void EventAlarm::setDuration(TizenApis::Api::TimeUtil::DurationProperties value)
49 {
50     m_duration = value;
51 }
52
53 std::vector<EventAlarm::EventAlarmType> EventAlarm::getMethods() const
54 {
55     return m_methods;
56 }
57 void EventAlarm::setMethods(const std::vector<EventAlarm::EventAlarmType> &value)
58 {
59     m_methods = value;
60 }
61
62 std::string EventAlarm::getTimeZone() const
63 {
64     return m_timeZone;
65 }
66 void EventAlarm::setTimeZone(const std::string &value)
67 {
68     m_timeZone = value;
69 }
70
71 std::string EventAlarm::getDescription() const
72 {
73     return m_description;
74 }
75 void EventAlarm::setDescription(const std::string &value)
76 {
77     m_description = value;
78 }
79
80 }
81 }
82 }