fields.go: Add GetDurationField function