haiku/headers/private/locale/TimeZonePrivate.h

38 lines
529 B
C
Raw Normal View History

/*
* 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*
IcuTimeZone()
{
return fTimeZone->fIcuTimeZone;
}
private:
const BTimeZone* fTimeZone;
};
#endif // _TIME_ZONE_PRIVATE_H