lib/java: switched from joda-time to java.util.Date for GWT compatibility