//
-// Open Service Platform
// Copyright (c) 2012 Samsung Electronics Co., Ltd.
//
// Licensed under the Apache License, Version 2.0 (the License);
_TimeZoneImpl(void);
_TimeZoneImpl(int rawOffset, const Tizen::Base::String& id);
_TimeZoneImpl(int rawOffset, const Tizen::Base::String& id, const TimeRule& startRule, const TimeRule& endRule, int dstOffset);
- _TimeZoneImpl(U_ICU_NAMESPACE::TimeZone& icuTimeZone);
- _TimeZoneImpl(U_ICU_NAMESPACE::TimeZone& icuTimeZone, UDate icuDate);
+ _TimeZoneImpl(U_ICU_NAMESPACE::TimeZone* pIcuTimeZone);
+ _TimeZoneImpl(U_ICU_NAMESPACE::TimeZone* pIcuTimeZone, UDate icuDate);
_TimeZoneImpl(const _TimeZoneImpl& otherTimeZone);
result GetOffset(long long ticks, int& offset) const;
bool IsDstUsed(void) const;
- U_ICU_NAMESPACE::SimpleTimeZone GetIcuTimeZone(void) const;
+ U_ICU_NAMESPACE::TimeZone* GetIcuTimeZone(void) const;
static const _TimeZoneImpl* GetTimeZoneImpl(const TimeZone& ospTimeZone);
static result GetTimeZone(const Tizen::Base::String& id, Tizen::Locales::TimeZone& timeZone);
static const int ONE_DAY_IN_MINUTE = 24 * 60;
private:
- U_ICU_NAMESPACE::SimpleTimeZone __icuTimeZone;
+ U_ICU_NAMESPACE::TimeZone* __pIcuTimeZone;
+ int __dstSaving;
int __dstStartingYear;
TimeRule __startingRule;
TimeRule __endingRule;
+ bool __isCustomizing;
static const int DAY_UNDEFINED = -1;
}; // _TimeZoneImpl