Multiple timezone support

Discussion of ideas for features and new projects based on POCO.
Posts: 4
Joined: 16 Feb 2008, 18:51
Location: Other

Multiple timezone support

Postby ryppka » 09 Mar 2008, 23:38

Timestamp/DateTime/LocalTime class family is powerful but lacks a useful feature. That is ability to create localtime in time zones other than the one set on the host OS. It would be nice to create a Timezone object from (just as example) a POSIX time zone string and have additional constructor and/or a static function in LocalTime class to create a local time using such a time zone. It solves daylight saving time problem as well. I do not know POSIX API well enough but it certainly implementable in Win32 as it is possible to create Timestamp instances from Win32 FILETIME. A depricated LocalTime API has to be used for this thow.

Return to “Wishlist”

Who is online

Users browsing this forum: No registered users and 2 guests