[ 
https://issues.apache.org/jira/browse/JDO-462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Craig Russell updated JDO-462:
------------------------------

    Description: 
Add methods to PersistenceManager and PersistenceManagerFactory to allow a user 
to get the current time and date from the server. Allow the 
PersistenceManagerFactory to be configured statically with TimeZone ID in case 
the information is not available from the server itself.

This will add a method to PersistenceManager java.util.Date getServerDate() and 
to PersistenceManagerFactory get/setServerTimeZoneID. The 
PersistenceManagerFactory methods are needed in case the information needed to 
construct the Date are not available via the connection to the server itself.

  was:
Add methods to PersistenceManager and PersistenceManagerFactory to allow a user 
to get the current time and date from the server. Allow the 
PersistenceManagerFactory to be configured statically with TimeZone and Locale 
in case the information is not available from the server itself.

This will add a method to PersistenceManager Calendar getServerCalendar() and 
to PersistenceManagerFactory get/setServerTimeZone and get/setServerLocale. The 
PersistenceManagerFactory methods are needed in case the information needed to 
construct the Calendar are not available via the connection to the server 
itself.


Updated the description to match the specification.

> Add methods to PersistenceManager and PersistenceManagerFactory to get server 
> Calendar, TimeZone, and Locale
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: JDO-462
>                 URL: https://issues.apache.org/jira/browse/JDO-462
>             Project: JDO
>          Issue Type: New Feature
>          Components: api2, api2-legacy
>    Affects Versions: JDO 2 final
>            Reporter: Craig Russell
>         Assigned To: Craig Russell
>             Fix For: JDO 2 maintenance release 1
>
>
> Add methods to PersistenceManager and PersistenceManagerFactory to allow a 
> user to get the current time and date from the server. Allow the 
> PersistenceManagerFactory to be configured statically with TimeZone ID in 
> case the information is not available from the server itself.
> This will add a method to PersistenceManager java.util.Date getServerDate() 
> and to PersistenceManagerFactory get/setServerTimeZoneID. The 
> PersistenceManagerFactory methods are needed in case the information needed 
> to construct the Date are not available via the connection to the server 
> itself.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to