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.
The shortest maternity leave you can take is 2 weeks. This goes up to 4 weeks if you work in a factory. If you want to take more than a year off. You donât have a right to more than a year of maternity leave, but your employer might agree to let you take extra time away from work.