void public \Bitrix\Sale\Delivery\CalculationResult::setPeriodTo( int $periodTo );
Method sets maximally possible delivery period. Non-static method.