optimization of TemporalType