Desired TimeZone ID: - "

System TimeZone: - ""
This is the current time zone for the computer that is running this data application. The time zone object has been sent the toString method and you are seeing the result.

Current Timestamp: - ""
This is the current time. The timestamp object has been sent the toString method and you are seeing the result. No matter where the computer serving this application is at, the toString method displays the timestamp in GMT. Displaying this time, without the time zone visible, will lead users to be confused.

Desired TimeZone - WO: - ""
This is the time zone that you selected in the previous page. The instance of the com.webobjects.foundation.NSTimeZone class was created from a call to the static getTimeZoneWithName method with the timezone id as a parameter. Note that if one gets the TimeZone instance, gets the name from the getDisplayName method from that, and then uses the name to call the getTimeZoneWithName, the call will return null. It would appear that the getTimeZoneWithName method is mis-named.

Desired TimeZone - JDK: - ""
This is the time zone that you selected in the previous page. The instance of the java.util.TimeZone class was created from a call to the static getTimeZone method with the timezone id as a parameter.

Desired Timestamp in Desired TimeZone: - ""
This is the string representation of the time in the desired time zone. This is obtained by creating a NSTimestampFormatter object, setting the time zone on that to the desired time zone, and then using the formatter to create a StringBuffer from the timestamp object. The fact that the NSTimestampFormatter is completely deprecated is unfortunate, but it works.

Back to Time Zone List - Back to Main Page