d1d8fda637
* BLocale now keeps language and country completely separate and mixes the formatting conventions into the current language's locale when formatting dates and times (needs to be done for number- and currency-formatting, too, since the digits may not be in the preferred language) * optimized fetching of the flag icons such that they are all loaded in one go (by the locale roster) - this alone speeds up the Locale preflet considerably * worked on fixing the language confusion in the Locale preflet * fixed a couple of bugs in the Locale preflet that would lead to illegal characters being displayed in the date-subpart menus git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39013 a95241bf-73f2-0310-859d-f6bbb57e9c96
38 lines
529 B
C++
38 lines
529 B
C++
/*
|
|
* 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
|