|
From: <yos...@us...> - 2012-10-29 14:30:38
|
> However I've found the C api to offer fewer features than the C++ api, in > particular for working with Time Zones. The ucal.h api offers some access to > Time Zones, but much seems to be missing, such as finding out the transitions > and even, bafflingly, what Time Zone ID the calendar is currently using. > There certainly doesn't appear to be any way to just access the tz > api without > a calendar? Or am I missing something here? You're right. TimeZone features are only exposed through ucal APIs in C. The C API for finding the transitions was just added in ICU4C 50 (will be released in this week). "what Time Zone ID the calendar is currently using" - It sounds like a hole. Could you file a ticket for enhancement? Thanks, Yoshito |