Bug 43388

GemStone/S 64 Bit,,,,,, 3.1, 3.0.1, 3.0, 2.4.8, 2.4.7, 2.4.6,, 2.4.5,,,, 2.4.4.x, 2.4.x,,, 2.3.x,, 2.2.5.x, older versions


DateAndTime timeZoneName and timeZoneAbbreviation unsupported for most offsets

ANSI specifies that DateAndTime should implement methods timeZoneName and timeZoneAbbreviation. These methods are only supported for DateAndTime instances in UTC (GMT), for which 'UTC' was returned.

An instance of DateAndTime has an offset, which specifies the difference from UCT. This is the only information available to provide the information for these methods. Since it is not possible to determine precisely which of the many named TimeZones correspond to a particular offset, in later versions these methods return a string containing the numerical offset.

Last updated: 8/13/14