The family of Hamiltonians obtained by the action of a group of canoni
cal transformations is considered. The formula for Hannay's angles is
derived which allows us to express them in terms of the geometry of a
group. The Berry formula relating Hannay's angles and Berry's phase is
rederived.