Signed-off-by: suhyung Eom <suhyung.eom@samsung.com>
Change-Id: I147536f54ecc78db5d328613ae2cb540e9256c7a
void *mTimeHandle;
};
-WatchTime::WatchTime()
- :mImpl(NULL)
-{
-}
-
WatchTime::WatchTime(void *time_handle)
{
mImpl = new Impl(time_handle);
#ifdef APPCORE_WATCH_AVAILABLE
+WatchTime::WatchTime()
+{
+ watch_time_h watch_time = {0,};
+
+ watch_time_get_current_time(&watch_time);
+ mImpl = new Impl(watch_time);
+}
+
int WatchTime::GetHour() const
{
int hour;
}
#else
+WatchTime::WatchTime()
+ :mImpl(NULL)
+{
+}
int WatchTime::GetHour() const
{