fields.go: Add GetDurationField function

Don't you also want to verify that duration is not negative, e.g. not `-1h`. Can't think of any scenario where a negative duration may be needed.