Rapu Ture - Exploring the Rules

Presence - adding days

Period: 2015

Inputs

These are values we supply into the calculation

Persons

👤 ruby_2017-10-01
  • date_of_birth

    "1998-01-01"

  • is_of_full_capacity

    true

  • present_in_new_zealand
    2013-02-04 true
    2014-03-10 false
    2014-03-15 true
    2015-08-30 true
    2016-03-10 false
    2016-03-15 true
    2016-08-27 false
    2016-11-02 false
    2016-11-16 true
    2017-05-27 false
    2017-06-20 true
    2018-01-21 false
    2018-02-12 true
  • immigration__entitled_to_indefinite_stay
    2013-02-04 true
    2014-03-10 false
    2014-03-15 true
    2015-08-30 true
    2016-03-10 false
    2016-03-15 true
    2016-08-27 false
    2016-11-02 false
    2016-11-16 true
    2017-05-27 false
    2017-06-20 true
    2018-01-21 false
    2018-02-12 true

Expected Outputs

These are the results we expect from the calculation

  • 2017-10-01
    295
  • 2016-10-01
    326
  • 2015-10-01
    365
  • 2014-10-01
    360
  • 2013-10-01
    239
  • 2013-10-02
    240
  • 2017-10-01
    false
  • 2017-10-02
    true