Update date impl from JRuby.