Treatise on modern horology in theory and practice