public static class MamaTimeZone
extends java.lang.Object
A time zone representation to make conversion of timestamps to and
from particular time zones more convenient.
Note: The addition of instance monitoring to the MamaTimeZone
implementation has resulted in the following limitation in its
usage. Do not create short lived objects of this type on the
method stack or delete long lived objects before program
termination. Pointers to all instances are maintained in a global
vector. At the moment there is no mechanism by which we can detect
deleted objects or those which are popped off the method stack. An
internal thread will always iterate over all objects ever
created. A call to an object removed from the stack will result in
nondeterminable behaviour. Pointers could be stored in a map
against a unique object id; however, addition and removal from the
map would have to be synchronized which would impact on
performance.
- See Also:
- Serialized Form