add initial framework for date/time parsing

with some tests.