* @param[in] type The resolution type
* @return 0 on success,
* otherwise a negative error value
- * @retval #APP_ERROR_INVALID_PARAMETER Invalid Parameter
* @retval #APP_ERROR_NONE Successful
+ * @retval #APP_ERROR_INVALID_PARAMETER Invalid Parameter
* @see watch_app_time_tick_resolution_e
* @see watch_app_get_time_tick_frequency()
*/
* @param[out] type The resolution type
* @return @c 0 on success,
otherwise a negative error value
- * @retval #APP_ERROR_INVALID_PARAMETER Invalid Parameter
* @retval #APP_ERROR_NONE Successful
+ * @retval #APP_ERROR_INVALID_PARAMETER Invalid Parameter
* @see watch_app_time_tick_resolution_e
* @see watch_app_set_time_tick_frequency()
*/
* @param[in] type The type of periodic ambient tick
* @return @c 0 on success,
* otherwise a negative error value
- * @retval #APP_ERROR_INVALID_PARAMETER Invalid Parameter
* @retval #APP_ERROR_NONE Successful
+ * @retval #APP_ERROR_INVALID_PARAMETER Invalid Parameter
* @see watch_app_ambient_tick_cb()
*/
int watch_app_set_ambient_tick_type(watch_app_ambient_tick_type_e type);
* @remarks If you do not set specific tick type with watch_app_set_ambient_tick_type(), this function will set @a type to #WATCH_APP_AMBIENT_TICK_EVERY_MINUTE. * @param[out] type The type of periodic ambient tick
* @return @c 0 on success,
* otherwise a negative error value
- * @retval #APP_ERROR_INVALID_PARAMETER Invalid Parameter
* @retval #APP_ERROR_NONE Successful
+ * @retval #APP_ERROR_INVALID_PARAMETER Invalid Parameter
* @see watch_app_ambient_tick_cb()
* @see watch_app_set_ambient_tick_type()
*/
* @param[out] watch_time The watch_time handle to be newly created on successl
* @return @c 0 on success,
* otherwise a negative error value
+ * @retval #APP_ERROR_NONE Successful
* @retval #APP_ERROR_INVALID_PARAMETER Invalid Parameter
* @retval #APP_ERROR_OUT_OF_MEMORY Out of Memory
- * @retval #APP_ERROR_NONE Successful
*/
int watch_time_get_current_time(watch_time_h *watch_time);
* @param[in] watch_time The watch_time handle
* @return @c 0 on success,
* otherwise a negative error value
- * @retval #APP_ERROR_INVALID_PARAMETER Invalid Parameter
* @retval #APP_ERROR_NONE Successful
+ * @retval #APP_ERROR_INVALID_PARAMETER Invalid Parameter
*/
int watch_time_delete(watch_time_h watch_time);
* @param[out] year The year info
* @return @c 0 on success,
* otherwise a negative error value
- * @retval #APP_ERROR_INVALID_PARAMETER Invalid Parameter
* @retval #APP_ERROR_NONE Successful
+ * @retval #APP_ERROR_INVALID_PARAMETER Invalid Parameter
*/
int watch_time_get_year(watch_time_h watch_time, int *year);
* @param[out] month The month info
* @return @c 0 on success,
* otherwise a negative error value
- * @retval #APP_ERROR_INVALID_PARAMETER Invalid Parameter
* @retval #APP_ERROR_NONE Successful
+ * @retval #APP_ERROR_INVALID_PARAMETER Invalid Parameter
*/
int watch_time_get_month(watch_time_h watch_time, int *month);
* @param[out] day The day info
* @return @c 0 on success,
* otherwise a negative error value
- * @retval #APP_ERROR_INVALID_PARAMETER Invalid Parameter
* @retval #APP_ERROR_NONE Successful
+ * @retval #APP_ERROR_INVALID_PARAMETER Invalid Parameter
*/
int watch_time_get_day(watch_time_h watch_time, int *day);
* @param[out] day_of_week The day of week info. The value returns from 1 (Sunday) to 7 (Saturday).
* @return @c 0 on success,
* otherwise a negative error value
- * @retval #APP_ERROR_INVALID_PARAMETER Invalid Parameter
* @retval #APP_ERROR_NONE Successful
+ * @retval #APP_ERROR_INVALID_PARAMETER Invalid Parameter
*/
int watch_time_get_day_of_week(watch_time_h watch_time, int *day_of_week);
* @param[out] hour The hour info
* @return @c 0 on success,
* otherwise a negative error value
- * @retval #APP_ERROR_INVALID_PARAMETER Invalid Parameter
* @retval #APP_ERROR_NONE Successful
+ * @retval #APP_ERROR_INVALID_PARAMETER Invalid Parameter
*/
int watch_time_get_hour(watch_time_h watch_time, int *hour);
* @param[out] hour24 The hour info
* @return @c 0 on success,
* otherwise a negative error value
- * @retval #APP_ERROR_INVALID_PARAMETER Invalid Parameter
* @retval #APP_ERROR_NONE Successful
+ * @retval #APP_ERROR_INVALID_PARAMETER Invalid Parameter
*/
int watch_time_get_hour24(watch_time_h watch_time, int *hour24);
* @param[out] minute The minute info
* @return @c 0 on success,
* otherwise a negative error value
- * @retval #APP_ERROR_INVALID_PARAMETER Invalid Parameter
* @retval #APP_ERROR_NONE Successful
+ * @retval #APP_ERROR_INVALID_PARAMETER Invalid Parameter
*/
int watch_time_get_minute(watch_time_h watch_time, int *minute);
* @param[out] second The second info
* @return @c 0 on success,
* otherwise a negative error value
- * @retval #APP_ERROR_INVALID_PARAMETER Invalid Parameter
* @retval #APP_ERROR_NONE Successful
+ * @retval #APP_ERROR_INVALID_PARAMETER Invalid Parameter
*/
int watch_time_get_second(watch_time_h watch_time, int *second);
* @param[out] millisecond The millisecond info
* @return @c 0 on success,
* otherwise a negative error value
- * @retval #APP_ERROR_INVALID_PARAMETER Invalid Parameter
* @retval #APP_ERROR_NONE Successful
+ * @retval #APP_ERROR_INVALID_PARAMETER Invalid Parameter
*/
int watch_time_get_millisecond(watch_time_h watch_time, int *millisecond);
* @param[out] utc_time The UTC time
* @return @c 0 on success,
* otherwise a negative error value
- * @retval #APP_ERROR_INVALID_PARAMETER Invalid Parameter
* @retval #APP_ERROR_NONE Successful
+ * @retval #APP_ERROR_INVALID_PARAMETER Invalid Parameter
*/
int watch_time_get_utc_time(watch_time_h watch_time, struct tm *utc_time);
* @since_tizen 2.3.1
* @param[in] watch_time The watch_time handle
* @param[out] utc_timestamp The UTC timestamp
- * @return @c 0 on success,
+ * @return @c 0 on success,
* otherwise a negative error value
- * @retval #APP_ERROR_INVALID_PARAMETER Invalid Parameter
* @retval #APP_ERROR_NONE Successful
+ * @retval #APP_ERROR_INVALID_PARAMETER Invalid Parameter
*/
int watch_time_get_utc_timestamp(watch_time_h watch_time, time_t *utc_timestamp);
* @param[out] time_zone_id The Timezone ID, such as "America/Los_Angeles"
* @return @c 0 on success,
* otherwise a negative error value
- * @retval #APP_ERROR_INVALID_PARAMETER Invalid Parameter
* @retval #APP_ERROR_NONE Successful
+ * @retval #APP_ERROR_INVALID_PARAMETER Invalid Parameter
*/
int watch_time_get_time_zone(watch_time_h watch_time, char **time_zone_id);
/**
+ * @brief Gets the daylight saving time status.
+ * @since_tizen 4.0
+ * @param[in] watch_time The watch_time handle
+ * @param[out] status The daylight saving time status;
+ @c true if DST is in effect, @c false otherwise
+ * @return 0 on success, otherwise a negative error value
+ * @retval #APP_ERROR_NONE Successful
+ * @retval #APP_ERROR_INVALID_PARAMETER Invalid Parameter
+ */
+int watch_time_get_dst_status(watch_time_h watch_time, bool *status);
+
+/**
* @}
*/