check if occurrence is in schedule time
added namespaces