1/* 2 * Copyright 2010-2011, Oliver Tappe <zooey@hirschkaefer.de> 3 * Distributed under the terms of the MIT License. 4 */ 5#ifndef _TIME_ZONE_PRIVATE_H 6#define _TIME_ZONE_PRIVATE_H 7 8 9#include <TimeZone.h> 10 11 12class BTimeZone::Private { 13public: 14 Private(const BTimeZone* timeZone = NULL) 15 : 16 fTimeZone(timeZone) 17 { 18 } 19 20 void 21 SetTo(const BTimeZone* timeZone) 22 { 23 fTimeZone = timeZone; 24 } 25 26 icu::TimeZone* 27 ICUTimeZone() 28 { 29 return fTimeZone->fICUTimeZone; 30 } 31 32private: 33 const BTimeZone* fTimeZone; 34}; 35 36 37#endif // _TIME_ZONE_PRIVATE_H 38