end of realization of method for searching appropriate time for event