diff --git a/headers/os/locale/Country.h b/headers/os/locale/Country.h index a9a5c7f396..db88b139ab 100644 --- a/headers/os/locale/Country.h +++ b/headers/os/locale/Country.h @@ -43,7 +43,8 @@ public: const char* GetLocalizedString(uint32 id) const; - // measurements + status_t GetAvailableTimeZones( + BMessage* timeZones) const; int8 Measurement() const; diff --git a/src/kits/locale/Country.cpp b/src/kits/locale/Country.cpp index 720441c484..5d75ba1521 100644 --- a/src/kits/locale/Country.cpp +++ b/src/kits/locale/Country.cpp @@ -10,11 +10,10 @@ #include #include #include +#include #include #include -#include -#include #include #include #include @@ -110,6 +109,13 @@ BCountry::GetIcon(BBitmap* result) const } +status_t +BCountry::GetAvailableTimeZones(BMessage* timeZones) const +{ + return be_locale_roster->GetAvailableTimeZonesForCountry(timeZones, Code()); +} + + // TODO does ICU even support this ? Is it in the keywords ? int8 BCountry::Measurement() const