wrong place for 'jdAtMidnight'
renamed 'getJd0' to 'jdAtMidnight'