Apply string localization for web
[platform/framework/native/appfw.git] / src / system-server / setting / providers / FSys_Icu.h
1 //
2 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
3 //
4 // Licensed under the Apache License, Version 2.0 (the License);
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
7 //
8 //     http://www.apache.org/licenses/LICENSE-2.0
9 //
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
15 //
16
17 /**
18  * @file                FSys_Icu.h
19  * @brief               This is the header file for _Icu class.
20  */
21
22
23 #include <unicode/ustring.h>
24 #include <unicode/uloc.h>
25 #include <unicode/utypes.h>
26 #include <unicode/udat.h>
27 #include <unicode/udatpg.h>
28 #include <unicode/locid.h>
29
30 namespace Tizen { namespace System
31 {
32 // ICU
33 static const char* _ICU_DATE_FORMAT = "yMMMMEEEEd";
34 static const char* _ICU_TIME_24_FORMAT = "Hms";
35 static const char* _ICU_TIME_12_FORMAT = "hms";
36
37 class _Icu
38 {
39 public:
40         _Icu();
41         virtual ~_Icu();
42         char* GetIcuPatternN(const char* pLocale, UChar* pCustomSkeleton);
43         char* GetDateTimeFormatN(const char* pIcuFormat);
44 };
45 } } // Tizen::System