meets the two presence in NZ requirements within the Citizenship Act
Citizenship Boolean DAY Person Formula Included used 1 timeValue type Boolean . Default value false Entity person
How is this calculated?
To calculate this variable, the following input is used
- Boolean citizenship__meets_5_year_presence_requirement was present in New Zealand for a minimum of 1,350 days during the 5 years immediately preceding the date of the application
- Int days_present_in_new_zealand_in_preceeding_5_years
- Int was_present_in_nz_and_entitled_to_indefinite_stay was present in New Zealand and entitled to indefinite stay
- Boolean immigration__entitled_to_indefinite_stay is entitled in terms of the Immigration Act 2009 to be in New Zealand indefinitely
- Boolean present_in_new_zealand was present in New Zealand on this day
- Boolean citizenship__meets_each_year_minimum_presence_requirements was present in New Zealand for at least 240 days in each the 5 years immediately preceding the date of application
- Int days_present_in_new_zealand_in_preceeding_year was present in New Zealand this many days in the last (rolling) year
- Int was_present_in_nz_and_entitled_to_indefinite_stay was present in New Zealand and entitled to indefinite stay
- Boolean immigration__entitled_to_indefinite_stay is entitled in terms of the Immigration Act 2009 to be in New Zealand indefinitely
- Boolean present_in_new_zealand was present in New Zealand on this day
Where is this used?
This variable is referred to by these other variables in their own calculations
- Boolean citizenship__citizenship_by_grant_may_be_authorized statisfies criteria such that the Minister may authorise the grant of New Zealand citizenship to this person
Formulas
This is the formula used to calculate the value of citizenship__meets_minimum_presence_requirements
0001-01-01
This formula is used for scenarios from the date 0001-01-01 onwards. More info on formulas
def formula(persons, period, parameters):
# persons('immigration__entitled_to_stay_indefinitely', period) * \
# (ii) for at least 240 days in each of those 5 years,—
# being days during which the applicant was entitled in terms of the Immigration Act 2009 to be in New Zealand indefinitely
# for p in [period.offset(offset) for offset in range(-365, 1)]:
return persons('citizenship__meets_5_year_presence_requirement', period) * \
persons('citizenship__meets_each_year_minimum_presence_requirements', period)