Rapu Ture - Exploring the Rules

was present in New Zealand for a minimum of 1,350 days during the 5 years immediately preceding the date of the application

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_5_year_presence_requirement


This formula is used for scenarios from the date 0001-01-01 onwards. More info on formulas

def formula(persons, period, parameters):
    # that the applicant was present in New Zealand—
    # (i)  and
    required_days = parameters(period).citizenship.by_grant.minimum_days_present_in_preceeding_5_years
    days_present = persons('days_present_in_new_zealand_in_preceeding_5_years', period)

    return (days_present >= required_days)

Scenarios calculating this variables