The config currently has a handy method `getDuration` which parses readable strings like "5 minutes" into a `java.time.Duration`. It would be nice if there was also a way to parse other `TemporalAmount`s such as `Period` ("2 years").