Rapu Ture - Exploring the Rules

meets the two presence in NZ requirements within the Citizenship Act

Citizenship Boolean DAY Person Formula Included used 1 time

Value type Boolean . Default value false Entity person

How is this calculated?

To calculate this variable, the following input is used

Where is this used?

This variable is referred to by these other variables in their own calculations


This is the formula used to calculate the value of citizenship__meets_minimum_presence_requirements


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)

Scenarios calculating this variables