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

I'm glad to hear it's working now. I think you'll be happy to use the latest version of the Arduino IDE now.