Tympanoplasty - how soon until swimming?

Anyone have surgery to repair a perforated eardrum? If so, how long until you were able to swim?