We give an extension of Bochner's criterion for the almost periodic functions. By using our main result, we extend two results A. Haraux. The first is a generalization which useful dynamical systems. second characterization functions in term criterion.