2010-08-30 14:30:22 +00:00
|
|
|
/*
|
2011-08-18 22:13:06 +00:00
|
|
|
* Copyright 2010-2011, Oliver Tappe <zooey@hirschkaefer.de>
|
2010-08-30 14:30:22 +00: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-18 22:13:06 +00:00
|
|
|
icu::TimeZone*
|
2010-10-19 21:36:44 +00:00
|
|
|
ICUTimeZone()
|
2010-08-30 14:30:22 +00:00
|
|
|
{
|
2010-10-19 21:36:44 +00:00
|
|
|
return fTimeZone->fICUTimeZone;
|
2010-08-30 14:30:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
private:
|
|
|
|
const BTimeZone* fTimeZone;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // _TIME_ZONE_PRIVATE_H
|