getTimeZone() method

This is called by the Agentry server to find out what time zone is being used by whatever remote server this implementation is communicating with.

Syntax

public String getTimeZone ()

Returns

The timezone name.

Usage

This will override the timeZoneName setting in the Agentry.ini file.

If this method returns a name that the Agentry server doesn't recognize (and odds are it won't, especially on Windows), then it needs to be mapped in the [TimeZoneAliases] section of the Agentry.ini file. If this method returns an empty string (the default implementation), then the timeZoneName setting in the Agentry.ini file will be used.