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.
Your leave can start as early as eight weeks before your baby is due. Maternity leave can run as long as 17 weeks after your baby's born. Some provinces offer different numbers of weeks for maternity leave. You can find your province's amount on our chart of maternity leave by province.