Error: 'yield' was not declared, also 'void TimeClass:

After all the successful uploading with no errors yet with no positive result, interchanging some lines within the void setup() corrects the problem.

Thank you for the information that made me understand some things about different IDE environment.