Locale timeZoneInformation
Posted by Esteban A. Maringolo-3 on Oct 31, 2005; 1:02pm
URL: https://forum.world.st/Locale-timeZoneInformation-tp3376069.html
Hi,
I'm trying to use the time zone information provided by a Locale,
but if do:
Locale default timeZoneInformation "Display-it"
It fails to print the TIME_ZONE_INFORMATION.
However, if I don't display it, it works, answering a two elements
array (???), with the second element being the TIME_ZONE_INFORMATION
instance.
However, the TIME_ZONE_INFORMATION>>bias method answer the bias
minutes related to GMT 0 (Greenwich), but it answers it with the
inverse sign. i.e. my local bias is -180 and if I evaluate #bias, it
answers 180.
And finally, the timeZoneInformation allways answers the TZI of the
system locale, and not the one defined for an specific locale
Looking at the MSDN, it seems that is OK, just that the Dolphin
implementation may lead to confusion, because the
#timeZoneInformation is implemented in Locale, when perhaps it
should be in Locale class, because it always answers the same,
whatever the locale instance receiver is.
Best regards.
--
Esteban.