//
-// Open Service Platform
// Copyright (c) 2012 Samsung Electronics Co., Ltd.
//
// Licensed under the Apache License, Version 2.0 (the License);
UTC_TIME, // This enum value is deprecated. Instead of using this enum value, use UTC_TIME.
STANDARD_TIME, // This enum value is deprecated. Instead of using this enum value, use STANDARD_TIME.
WALL_TIME, // This enum value is deprecated. Instead of using this enum value, use TIME_MODE_WALL.
- TIME_MODE_UTC = UTC_TIME, /**< The UTC Time */
- TIME_MODE_STANDARD = STANDARD_TIME, /**< The Standard Time */
- TIME_MODE_WALL = WALL_TIME, /**< The Wall Time */
+ TIME_MODE_UTC = UTC_TIME, /**< The UTC Time */
+ TIME_MODE_STANDARD = STANDARD_TIME, /**< The Standard Time */
+ TIME_MODE_WALL = WALL_TIME, /**< The Wall Time */
};
class _OSP_EXPORT_ SystemTime
* @since 2.0
*
* @return An error code
- * @param[in] timeMode The time mode @c TIME_MODE_UTC, @c TIME_MODE_STANDARD, or @c TIME_MODE_WALL
+ * @param[in] timeMode The time mode which can be @c TIME_MODE_UTC, @c TIME_MODE_STANDARD, or @c TIME_MODE_WALL
* @param[out] currentTime The current system time
* @exception E_SUCCESS The method is successful.
*/
* @since 2.0
*
* @privlevel platform
- * @privilege %http://tizen.org/privilege/systemsetting.write
+ * @privilege %http://tizen.org/privilege/settingmanager.write @n
+ * (%http://tizen.org/privilege/systemsetting.write is deprecated.)
*
* @return An error code
- * @param[in] currentTime The current system time in UTC
- * @exception E_SUCCESS The method is successful.
+ * @param[in] currentTime The current system time in UTC
+ * @exception E_SUCCESS The method is successful.
* @exception E_PRIVILEGE_DENIED The application does not have the privilege to call this method.
- * @exception E_SYSTEM The method cannot proceed due to a severe system error.
+ * @exception E_SYSTEM The method cannot proceed due to a severe system error.
*/
static result SetCurrentTime(const Tizen::Base::DateTime& currentTime);
private: