Added `time_with_offset` functionality.

Fixes #28