[webAPI][alarm] add enum ByDayValue to fix typing error
authorHyunjin Park <hj.na.park@samsung.com>
Wed, 21 Oct 2015 06:48:06 +0000 (15:48 +0900)
committerHyunjin Park <hj.na.park@samsung.com>
Wed, 21 Oct 2015 06:48:06 +0000 (15:48 +0900)
Change-Id: Iedc956fbd4a065c9dc8341b6599232cbc671d809

org.tizen.web.apireference/html/device_api/mobile/tizen/alarm.html

index d104bf0..e6459a6 100644 (file)
@@ -30,8 +30,12 @@ For more information on the Alarm features, see <a href="../../../../../org.tize
         </p>
 <h2>Table of Contents</h2>
 <ul class="toc">
-<li>1. <a href="#typedefs-section">Type Definitions</a><ul class="toc"><li>1.1. <a href="#AlarmId">AlarmId</a>
-</li></ul>
+<li>1. <a href="#typedefs-section">Type Definitions</a><ul class="toc">
+<li>1.1. <a href="#AlarmId">AlarmId</a>
+</li>
+<li>1.2. <a href="#ByDayValue">ByDayValue</a>
+</li>
+</ul>
 </li>
 <li>2. <a href="#interfaces-section">Interfaces</a><ul class="toc">
 <li>2.1. <a href="#AlarmManagerObject">AlarmManagerObject</a>
@@ -96,6 +100,22 @@ For more information on the Alarm features, see <a href="../../../../../org.tize
  1.0
           </p>
 </div>
+<div class="enum" id="ByDayValue">
+<a class="backward-compatibility-anchor" name="::Alarm::ByDayValue"></a><h3>1.2. ByDayValue</h3>
+<div class="brief">
+ Specifies the values for the <a href="#AlarmAbsolute::daysOfTheWeek">daysOfTheWeek</a> attribute.
+          </div>
+<pre class="webidl prettyprint">    enum ByDayValue { "MO", "TU", "WE", "TH", "FR", "SA", "SU" };</pre>
+<p><span class="version">
+            Since: </span>
+ 1.0
+          </p>
+<div class="description">
+          <p>
+"MO" to "SU" correspond to "Monday" to "Sunday".
+          </p>
+         </div>
+</div>
 </div>
 <div class="interfaces" id="interfaces-section">
 <h2>2. Interfaces</h2>
@@ -632,7 +652,7 @@ If the alarm has expired, this method returns <var>null</var>.
           </div>
 <pre class="webidl prettyprint">    [Constructor(Date date),
 
-     Constructor(Date date, <a href="calendar.html#ByDayValue">ByDayValue</a>[] daysOfTheWeek),
+     Constructor(Date date, <a href="#ByDayValue">ByDayValue</a>[] daysOfTheWeek),
 
      Constructor(Date date, long period)]
     interface AlarmAbsolute : <a href="#Alarm">Alarm</a> {
@@ -640,7 +660,7 @@ If the alarm has expired, this method returns <var>null</var>.
 
         readonly attribute long? period;
 
-        readonly attribute <a href="calendar.html#ByDayValue">ByDayValue</a>[] daysOfTheWeek;
+        readonly attribute <a href="#ByDayValue">ByDayValue</a>[] daysOfTheWeek;
 
         Date? getNextScheduledDate() raises(<a href="tizen.html#WebAPIException">WebAPIException</a>);
     };</pre>
@@ -676,7 +696,7 @@ If a <em>period</em> is provided, the alarm keeps triggering for the given inter
 <h4 id="AlarmAbsolute::constructor">Constructors</h4>
 <dl>
 <pre class="webidl prettyprint">AlarmAbsolute(Date date);</pre>
-<pre class="webidl prettyprint">AlarmAbsolute(Date date, <a href="calendar.html#ByDayValue">ByDayValue</a>[] daysOfTheWeek);</pre>
+<pre class="webidl prettyprint">AlarmAbsolute(Date date, <a href="#ByDayValue">ByDayValue</a>[] daysOfTheWeek);</pre>
 <pre class="webidl prettyprint">AlarmAbsolute(Date date, long period);</pre>
 </dl>
 </div>
@@ -787,6 +807,8 @@ If the alarm has expired, this method returns <var>null</var>. The returned date
 <pre class="webidl prettyprint">module Alarm {
     typedef DOMString AlarmId;
 
+    enum ByDayValue { "MO", "TU", "WE", "TH", "FR", "SA", "SU" };
+
     [NoInterfaceObject] interface AlarmManagerObject {
         readonly attribute <a href="#AlarmManager">AlarmManager</a> alarm;
     };
@@ -827,7 +849,7 @@ If the alarm has expired, this method returns <var>null</var>. The returned date
 
     [Constructor(Date date),
 
-     Constructor(Date date, <a href="calendar.html#ByDayValue">ByDayValue</a>[] daysOfTheWeek),
+     Constructor(Date date, <a href="#ByDayValue">ByDayValue</a>[] daysOfTheWeek),
 
      Constructor(Date date, long period)]
     interface AlarmAbsolute : <a href="#Alarm">Alarm</a> {
@@ -835,7 +857,7 @@ If the alarm has expired, this method returns <var>null</var>. The returned date
 
         readonly attribute long? period;
 
-        readonly attribute <a href="calendar.html#ByDayValue">ByDayValue</a>[] daysOfTheWeek;
+        readonly attribute <a href="#ByDayValue">ByDayValue</a>[] daysOfTheWeek;
 
         Date? getNextScheduledDate() raises(<a href="tizen.html#WebAPIException">WebAPIException</a>);
     };