Parse some date- and time-based headers

I think this is in reasonable shape. Parsing of timestamps may need to be revisited in the future, but overall things are working well, and the type scheme is doing its job.