Integral definition of transition time in the Landau-Zener model