* 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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user