Report Abuse. You can use a flag in any programming language. It's just a variable to hold the state of a condition. Most are boolean (basically, on or off, 0 or 1) but can be any value. A simple flag could be, if a certain condition is true then flag = 1. Then later in the program the value of flag can be tested.eport Abuse. You can use a flag in any programming language. It's just a variable to hold the state of a condition. Most are boolean (basically, on or off, 0 or 1) but can be any value. A simple flag could be, if a certain condition is true then flag = 1. Then later in the program the value of flag can be tested.
The way I interpreted it, was that you can leave when you are about 25 weeks pregnant. I think you get something like 15 or 17 weeks pregnancy leave, and then 35 weeks maternity leave. If you save them up, though, you get almost a full year with baby.
Mothers must still take the initial two weeks after birth, but they can then cut their maternity leave short and exchange it for shared parental leave. Both parents will then have a flexible choice of how to split up the rest of the leave entitlement - of up to 50 weeks. For example, if a mother ends her maternity leave after the 12 weeks following the child's birth, that leaves 40 weeks of leave. She chooses to take 30 weeks and so her partner can take the other 10 weeks. Alternatively, the couple may choose to take 20 weeks of leave at the same time or at different times.