TimeZonePrivate.h revision 6e30c4b8af7bf3b91d49f7fb53d820d02fe4f765
1/*
2 * Copyright 2010, 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_44::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