Add Javadoc for the new DAO functions
Pass the locale to the time calculation

Sadly  does not work on appengine, so work around using the pageScope.
Format the code, no changes