time-cube: implement local timestamp data types