* added support for getting the names of a timezone for a specific locale

(not currently used anywhere, but should be part of the BTimeZone interface)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38333 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Oliver Tappe
2010-08-24 15:03:54 +00:00
parent 303ecf89ec
commit 3bdedcf3f1
2 changed files with 68 additions and 13 deletions
+9 -2
View File
@@ -10,13 +10,16 @@
namespace icu_44 {
class Locale;
class TimeZone;
}
class BLocale;
class BTimeZone {
public:
BTimeZone(const char* zoneID = NULL);
BTimeZone(const char* zoneID = NULL,
const BLocale* locale = NULL);
BTimeZone(const BTimeZone& other);
~BTimeZone();
@@ -32,12 +35,16 @@ public:
status_t InitCheck() const;
status_t SetTo(const char* zoneID);
status_t SetTo(const char* zoneID,
const BLocale* locale = NULL);
status_t SetLocale(const BLocale* locale);
static const char* kNameOfGmtZone;
private:
icu_44::TimeZone* fIcuTimeZone;
icu_44::Locale* fIcuLocale;
status_t fInitStatus;
mutable uint32 fInitializedFields;