2010-08-30 18:30:22 +04:00
|
|
|
/*
|
2011-08-19 02:13:06 +04:00
|
|
|
* Copyright 2010-2011, Oliver Tappe <zooey@hirschkaefer.de>
|
2010-08-30 18:30:22 +04:00
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
#ifndef _TIME_ZONE_PRIVATE_H
|
|
|
|
#define _TIME_ZONE_PRIVATE_H
|
|
|
|
|
|
|
|
|
|
|
|
#include <TimeZone.h>
|
|
|
|
|
|
|
|
|
|
|
|
class BTimeZone::Private {
|
|
|
|
public:
|
|
|
|
Private(const BTimeZone* timeZone = NULL)
|
|
|
|
:
|
|
|
|
fTimeZone(timeZone)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
SetTo(const BTimeZone* timeZone)
|
|
|
|
{
|
|
|
|
fTimeZone = timeZone;
|
|
|
|
}
|
|
|
|
|
2011-08-19 02:13:06 +04:00
|
|
|
icu::TimeZone*
|
2010-10-20 01:36:44 +04:00
|
|
|
ICUTimeZone()
|
2010-08-30 18:30:22 +04:00
|
|
|
{
|
2010-10-20 01:36:44 +04:00
|
|
|
return fTimeZone->fICUTimeZone;
|
2010-08-30 18:30:22 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
const BTimeZone* fTimeZone;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // _TIME_ZONE_PRIVATE_H
|