haiku/headers/os/locale/TimeZone.h
Adrien Destugues 4ae5a45220 * Rewrote the timezone selection part of the time preflet to make use of ICU instead of our custom TZData.
* Not completely working yet, hte POSIX API isn't very happy about ICU timezone names.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37758 a95241bf-73f2-0310-859d-f6bbb57e9c96
2010-07-26 13:56:50 +00:00

32 lines
427 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);
void GetCode(char* buffer, int size);
int OffsetFromGMT();
private:
icu_44::TimeZone* fICUTimeZone;
};
#endif