func (d Due) Add(ivl Interval) Due {
	dur := time.Duration(ivl)
	if ivl < Day {
		return Due(time.Time(d).Add(dur))
	}
	// Round up to the next whole day
	return Due(time.Time(d).Truncate(time.Duration(Day)).Add(time.Duration(ivl + Day - 1)).Truncate(time.Duration(Day)))
}
// Add returns a new Due time with the duration added to it.
Add returns a new Due time with the duration added to it.
// Add returns a new Due time with the duration added to it .
func (d Due) Add(ivl Interval) Due {
	dur := time.Duration(ivl)
	if ivl < Day {
		return Due(time.Time(d).Add(dur))
	}
	return Due(time.Time(d).Truncate(time.Duration(Day)).Add(time.Duration(ivl + Day - 1)).Truncate(time.Duration(Day)))
}
func ( d Due ) Add ( ivl Interval ) Due { dur := time . Duration ( ivl ) if ivl < Day { return Due ( time . Time ( d ) . Add ( dur ) ) } return Due ( time . Time ( d ) . Truncate ( time . Duration ( Day ) ) . Add ( time . Duration ( ivl + Day - 1 ) ) . Truncate ( time . Duration ( Day ) ) ) }
Add returns a new Due time with the duration added to it.
Add returns a new Due time with the duration added to it .
// Round up to the next whole day