// MarshalYAML is yaml.Marshaler interface implementation
MarshalYAML is yaml.Marshaler interface implementation
// MarshalYAML is yaml . Marshaler interface implementation
func (d DurationMinutes) MarshalYAML() (interface{}, error) {
	if !d.IsPresent() {
		return nil, nil
	}
	return int(d.value / time.Minute), nil
}
func ( d DurationMinutes ) MarshalYAML ( ) ( interface { } , error ) { if ! d . IsPresent ( ) { return nil , nil } return int ( d . value / time . Minute ) , nil }
MarshalYAML is yaml.Marshaler interface implementation
MarshalYAML is yaml . Marshaler interface implementation