Existence of optimal controls on hybrid time domains. (February 2019)