Andrew Zeneski wrote:
The predicted results will be a timestamp adjusted with with the
specific amount specified, without a timezone available. Just a helper
method.
I used it on a system which is set to GMT and requires dates be
displayed in the customer facing in the customer's timezone. The
timezone is read as an offset (in javascript) and then adjusted on the
fly as needed. There is no TimeZone object available, all we know is how
many minutes off GMT.
Andrew
The commit log mentions calling this from Freemarker. There are Locale and TimeZone objects in the
Freemarker context. In addition, I'm pretty sure that no matter where you are in the code execution
path, you have access to Locale and TimeZone objects.
-Adrian