That's on par with parental leave, where it's not uncommon to tell the employer 3 months before the delivery.