[add & test] time fun's done

Done time function converting. They use SOFA now. see src/mjdyd.cpp and
testmake.sh for detail.