haiku/headers/os/locale/TimeZone.h
Adrien Destugues 282582c005 * Bcountry : private methods start with underscore. The timezone list isnow actually a list of BTimeZone objects, that holdsall the needed info, not only the code. Also tweak the listing code to
remove duplicatesfromthe list generated by ICU.
 * BTimeZone : remove Code, rename Name to GetName. The class is likely to change again for further optimization.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37719 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-23 16:25:43 +00:00

31 lines
386 B
C++

/*
Copyright 2010, Haiku, Inc.
Distributed under the terms of the MIT License.
*/
#ifndef __TIMEZONE_H__
#define __TIMEZONE_H__
class BString;
namespace icu_44 {
class TimeZone;
}
class BTimeZone {
public:
BTimeZone(const char* zoneCode);
~BTimeZone();
void GetName(BString& name);
int OffsetFromGMT();
private:
icu_44::TimeZone* fICUTimeZone;
};
#endif