Need to pass a result here.  You'll need a scratch JulianDate declared as module scope to use as the result.