Updated sample code by DateTime change
authorHokwon Song <hokwon.song@samsung.com>
Tue, 2 Apr 2013 06:23:47 +0000 (15:23 +0900)
committerso.yu <so.yu@samsung.com>
Tue, 2 Apr 2013 11:35:18 +0000 (20:35 +0900)
Change-Id: If0fe69ad61dbce784f3243c0239fab0ff30e216b
Signed-off-by: Hokwon Song <hokwon.song@samsung.com>
inc/FLclLocaleManager.h

index 43df3c5..9ce72b7 100644 (file)
@@ -81,7 +81,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.