* Add a BTimeZone class for handling time zones.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37718 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Adrien Destugues
2010-07-23 13:19:33 +00:00
parent aa552b077a
commit 2774e142e1
3 changed files with 102 additions and 7 deletions
+31
View File
@@ -0,0 +1,31 @@
/*
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 Name(BString& name);
void Code(BString& code);
int OffsetFromGMT();
private:
icu_44::TimeZone* fICUTimeZone;
};
#endif