use right JODA method to calculate Julian day number