Hydrodynamics of hadronic matter produced in ultrarelativistic nucleus - nucleus collisions