Summer months and late winter or dormant season is the "best" time to prune.
During the late winter months (February and March), harmful pathogens are at a minimum, mostly inactive; therefore, this is a safe pruning environment from that standpoint. During this season, deciduous trees have hardened off and when the growing season begins the wounds will be sealed and the callusing process will begin.