Knox Tizen Wearable SDK
date_time.h
1 /*
2  * Copyright (c) 2000-2017 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * PROPRIETARY/CONFIDENTIAL
5  *
6  * This software is the confidential and proprietary information of
7  * SAMSUNG ELECTRONICS ("Confidential Information").
8  * You shall not disclose such Confidential Information and shall
9  * use it only in accordance with the terms of the license agreement
10  * you entered into with SAMSUNG ELECTRONICS.
11  * SAMSUNG make no representations or warranties about the suitability
12  * of the software, either express or implied, including but not
13  * limited to the implied warranties of merchantability, fitness for
14  * a particular purpose, or non-infringement.
15  * SAMSUNG shall not be liable for any damages suffered by licensee as
16  * a result of using, modifying or distributing this software or its derivatives.
17  */
18 
19 #ifndef LIBMDM_MDM_DATE_TIME_H
20 #define LIBMDM_MDM_DATE_TIME_H
21 
22 #include <stdbool.h>
23 
24 #include "mdm_client_type.h"
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
65 
97 
131 
164 
203 
243 
291 
335 mdm_result_t mdm_set_date_format(const char *p_format);
336 
387 mdm_result_t mdm_set_date_time(int day, int month, int year, int hour, int minute, int second);
388 
433 mdm_result_t mdm_set_time_format(const char *p_format);
434 
480 mdm_result_t mdm_set_time_zone(const char *p_timezoneid);
481 
527 
560 
566 #ifdef __cplusplus
567 }
568 #endif
569 
570 #endif // LIBMDM_MDM_DATE_TIME_H
mdm_result_t mdm_set_time_zone(const char *p_timezoneid)
API to set the device TimeZone.
mdm_status_t mdm_is_date_time_change_enabled(void)
API to check whether the user can change the date and time.
mdm_result_t mdm_get_daylight_saving_time(int *p_value)
API to get the daylight saving time state.
mdm_data_t * mdm_get_time_format(void)
API to get the device time.
mdm_data_t * mdm_get_date_format(void)
API to get the date format.
This structure is used to store GList.
mdm_data_t * mdm_get_date_time(void)
API to get the date and time.
mdm_data_t * mdm_get_time_zone(void)
API to get the device time zone as a valid ID.
mdm_status_t
MDM Policy status.
mdm_result_t mdm_set_date_time(int day, int month, int year, int hour, int minute, int second)
API to set the device date and time.
mdm_result_t mdm_get_automatic_time(int *p_value)
API to get whether automatic time updates using Network Identity and Time Zone (NITZ) is enabled...
mdm_result_t mdm_set_date_format(const char *p_format)
API to set the device date format.
mdm_result_t
MDM API result.
mdm_result_t mdm_set_automatic_time(int enabled)
API to set whether to use automatic time updates using Network Identity and Time Zone (NITZ)...
mdm_result_t mdm_set_time_format(const char *p_format)
API to set the device time format.
mdm_result_t mdm_set_date_time_change_enabled(bool enabled)
API to set whether the user can change the date and time.