projects
/
platform
/
framework
/
native
/
appfw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cf9e8a
)
Fix N_SE-50875 for getOffset of TZ.
author
Hokwon Song
<hokwon.song@samsung.com>
Tue, 3 Sep 2013 07:15:05 +0000
(16:15 +0900)
committer
Hokwon Song
<hokwon.song@samsung.com>
Tue, 3 Sep 2013 07:15:05 +0000
(16:15 +0900)
Change-Id: I91f55d7b97bd1643db0459db77abbca027f56846
Signed-off-by: Hokwon Song <hokwon.song@samsung.com>
src/locales/FLcl_TimeZoneImpl.cpp
patch
|
blob
|
history
diff --git
a/src/locales/FLcl_TimeZoneImpl.cpp
b/src/locales/FLcl_TimeZoneImpl.cpp
index
915e23a
..
b117542
100644
(file)
--- a/
src/locales/FLcl_TimeZoneImpl.cpp
+++ b/
src/locales/FLcl_TimeZoneImpl.cpp
@@
-429,7
+429,8
@@
_TimeZoneImpl::GetOffset(long long ticks, int& offset) const
{
TimeSpan ts(ticks);
DateTime date;
- date.SetValue(ts.GetTicks());
+ result r = date.SetValue(ts.GetTicks());
+ SysTryReturnResult(NID_LCL, r == E_SUCCESS, E_INVALID_ARG, "It is an invalid argument.");
int rawOffset = 0;
int dstOffset = 0;