AbcAeffchen\SepaUtilities\SepaUtilities::getDateWithMinOffsetFromToday

Returns the target date, if it has at least the given offset of TARGET2 days form today. Else the earliest date that respects the offset is returned.