Add privilege check code.
[platform/framework/native/appfw.git] / inc / FLclLocaleManager.h
index 43df3c5..f835d1b 100644 (file)
@@ -1,5 +1,4 @@
 //
-// Open Service Platform
 // Copyright (c) 2012 Samsung Electronics Co., Ltd.
 //
 // Licensed under the Apache License, Version 2.0 (the License);
@@ -81,7 +80,8 @@ LocaleApp::LocaleExample1(void)
 
     // Gets the formatted date/time that is localized.
     DateTimeFormatter* pDateTimeFormatter = DateTimeFormatter::CreateDateTimeFormatterN(systemLocale);
-    DateTime dateTime(2009, 2, 24, 15, 22, 00);
+    DateTime dateTime;
+    dateTime.SetValue(2009, 2, 24, 15, 22, 00);
     pDateTimeFormatter->Format(dateTime, formattedString);
 
     // Gets the currency symbol that is localized.
@@ -105,6 +105,7 @@ LocaleApp::LocaleExample1(void)
 #include <FLocales.h>
 
 using namespace Tizen::Base;
+using namespace Tizen::Base::Collection;
 using namespace Tizen::Locales;
 
 void