new class TemporalType replacing TemporalTypes

see issue #151