btrfs: [] on the end of a struct field is a variable length array.
[haiku.git] / headers / private / locale / TimeZonePrivate.h
blobe6f6c1c317149611de79b53842470a7b083e4b8f
1 /*
2 * Copyright 2010-2011, 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
9 #include <TimeZone.h>
12 class BTimeZone::Private {
13 public:
14 Private(const BTimeZone* timeZone = NULL)
16 fTimeZone(timeZone)
20 void
21 SetTo(const BTimeZone* timeZone)
23 fTimeZone = timeZone;
26 icu::TimeZone*
27 ICUTimeZone()
29 return fTimeZone->fICUTimeZone;
32 private:
33 const BTimeZone* fTimeZone;
37 #endif // _TIME_ZONE_PRIVATE_H