Added a julian-day-function to SweWrapper.