JDO Method
in javax.jdo.PersistenceManagerFactory

void setServerTimeZoneID(
  String timezoneid
)


Sets the TimeZone ID of the server associated with this PersistenceManagerFactory. The parameter is a String suitable for use with TimeZone.getTimeZone(). The String must match an ID returned by TimeZone.getAvailableIDs(). If the ServerTimeZoneID is not set, or set to the null String, assume that the server has the same TimeZone ID as the client. If incorrectly set, the result of PersistenceManager.getServerDate() might be incorrect.
Parameters:
timezoneid - the TimeZone ID of the server
Throws:
JDOUserException - if the parameter does not match an ID from TimeZone.getAvailableIDs()
See Also:
getServerTimeZoneID()
java.util.TimeZone
java.util.TimeZone()
PersistenceManager.getServerDate()
Since:
JDO 2.1