2010-07-23 17:19:33 +04:00
|
|
|
/*
|
|
|
|
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();
|
|
|
|
|
2010-07-23 20:25:43 +04:00
|
|
|
void GetName(BString& name);
|
2010-07-23 17:19:33 +04:00
|
|
|
int OffsetFromGMT();
|
|
|
|
|
|
|
|
private:
|
|
|
|
icu_44::TimeZone* fICUTimeZone;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif
|