Mar 10, 2013 2 Answers. Cannnot make a static reference to the nonstatic field Time. hour This is because you are trying to access nonstatic fields in a static way. Time. hour is an instance field (not static), so calling it as Time. hour makes no sense, as you dont have Time instance. You need to create a Time object and then you can use myTime. hour.