Added "/.idea/" and "*.iml" to file .gitignore. Added pom.xml.
Created and wrote class TimeSubject according to the class diagram.
Created class Clock.
Wrote class Clock according to the class diagram.
Created class UtcTime.
Implemented method UtcTime.notifyAllClocks().
Added an int field utcZeroTime to class UtcTime.
Added static method Clock.toLocalTime().
Generated getter and setter of the field utcZeroTime of class UtcTime.
Added method call notifyAllClocks() in method UtcTime.setUtcZeroTime().
Created class PhoneClock.
Implemented method PhoneClock.setLocalTime() according to the class diagram.
Made field Clock.localTime protected.
Made field Clock.UTC_OFFSET protected.
Added field PhoneClock.utcTime.
Created class CityClock.
Implemented method CityClock.setLocalTime().
Added class HotelWorldClocksRunner with a main() method to have a try.
Added the main() method to class HotelWorldClocksRunner and wrote the expected code there.
Updated the main() method to make the constructor of PhoneClock is the same with CityClock and add the UtcTime object to the phoneClock using method PhoneClock.setUtcTime().