XWIKI-10197: Upgrade to Joda-Time 2.3
* fix deprecated call