A simple clock implemented using the new Date and Time API form JDK 8.