Added format and validation for time in years and months.

Especially useful for capturing duration information such as time at
location or in last employment position.