misc fixes in JulianDate
misc fixes
add julian date header
implement toDate(const int year, const int month, const int day)
use AddDays instead of dayofmonth in yyyyww partition (this silently ignores the n period option)