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.
Maternity leave and pay. A pregnant employee has the right to both 26 weeks of ordinary maternity leave as well as 26 weeks of additional maternity leave. To qualify for maternity leave, an employee must tell their employer by the end of the 15th weeks before the expected week of childbirth: 1  that she is pregnant. Pregnant employees have the right to 52 weeks maternity leave. 2  39 weeks could be paid which may be statutory maternity pay, maternity allowance or contractual maternity pay (contractual pay may be more than statutory pay or could be paid for longer than 39 week-this will depend on the terms of employment).