Create a StateDelay with an TimeNumber
(Since version ) see corresponding Javadoc for more information.
State Delay