Factory Pattern. 1  Factory pattern is a creational design pattern. 2  Idea of the factory patterns is to localize the object creation code. 3  This prevents disturbing the entire system for a new type introduction.
The average maternity leave in the U.S. is about 10 weeks, but about half of new moms took at least five weeks, with about a quarter taking nine weeks or more, figures showed.
Those men who took leave spent an average of 13 weeks away from work, compared to an average of 31.5 weeks for mothers. The government of Canada splits the EI benefits between maternity leave (17 weeks maximum) and parental leave to a maximum of 35 weeks. So after having a baby, moms can take at least 17 weeks leave of their jobs. At that point, she and the other parent have the option of taking off the remaining time â up to a total of 35 weeks. A mother could take 20 weeks and a father the remaining 15, for example.