2010-08-30 18:30:22 +04:00
|
|
|
/*
|
|
|
|
* Copyright 2010, Oliver Tappe <zooey@hirschkaefer.de>
|
|
|
|
* 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;
|
|
|
|
}
|
|
|
|
|
|
|
|
icu_44::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
|