3 * Copyright 2012 Samsung Electronics Co., Ltd
5 * Licensed under the Flora License, Version 1.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.tizenopensource.org/license
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
19 #ifndef __WCL_FWK_ICU_H__
20 #define __WCL_FWK_ICU_H__
21 #include "clock_fwk_icu.h"
23 /*BEG: Gong Xingsheng<x536.gong@samsung.com> add in Mon Nov 21 01:04:37 PST 2011
24 * this struct is saved hour, min, sec and current time format
25 * which is used in genlist item date
28 typedef struct _worldclock_time_s worldclock_time_s;
29 struct _worldclock_time_s {
35 /*END: Gong Xingsheng<x536.gong@samsung.com> add in Mon Nov 21 01:04:37 PST 2011 */
37 char *worldclock_icu_get_time_str(time_t input_time, const char *timezone);
38 char *worldclock_icu_get_date_str(time_t input_time, const char *timezone);
39 char *worldclock_icu_get_time_date_str(time_t input_time, const char *timezone);
40 worldclock_time_s *worldclock_icu_get_time_int(time_t input_time, const char *timezone);
41 int worldclock_icu_dst_get(const char *tz_path);
43 #endif //__WCL_FWK_ICU_H__