Time directions are not invariant in conventional thermodynamics. We broadly follow ideas of Ludwig Boltzmann and investigate implications of postulating time-directional invariance in thermodynamics. In this investigation, we require that thermodynamic descriptions are not changed under time reversal accompanied by replacement of matter by antimatter (i.e. CPT-invariant thermodynamics). The matter and antimatter are defined as thermodynamic concepts without detailing their physical structure. Our analysis stays within the limits of conceptual thermodynamics and leads to effective negative temperatures, to thermodynamic restrictions on time travel and to inherent antagonism of matter and antimatter. This antagonism is purely thermodynamic; it explains the difficulty in achieving thermodynamic equilibrium between matter and antimatter and does not postulate their mutual annihilation on contact. We believe that the conclusions of this work can be of interest not only for people researching or teaching thermodynamics but also for a wider scientific audience.