Replace hard-coded conversion logic in _to_ordinalf with functions from `datetime`.

Signed-off-by: Paul G <p.ganssle@gmail.com>
Make `from_ordinalf` use mostly functions from `datetime` for time conversion.

Signed-off-by: Paul G <p.ganssle@gmail.com>