Revert "use right JODA method to calculate Julian day number"

This reverts commit 3cc0feebe9fb87ad5222942c9f463fe89592b8b6.