src/RijksregisternummerHelper.php
/**
   * Adjust the month by taking into account modifications for bisnummers and self assigned rijksregisternummers.
   *
   * @param int $month The month.
   *
   * @return int
   */
Adjust the month by taking into account modifications for bisnummers and self assigned rijksregisternummers.
@param int $month The month.

@return int
Adjust the month by taking into account modifications for bisnummers and self assigned rijksregisternummers . @param int $month The month . @return int
private static function readjustMonth(int $month): int
  {
    switch (true)
    {
      case 1<=$month && $month<=12:
        break;
      case 21<=$month && $month<=32:
        $month -= 20;
        break;
      case 41<=$month && $month<=52:
        $month -= 40;
        break;
      case 61<=$month && $month<=72:
        $month -= 60;
        break;
      default:
        throw new FallenException('month', $month);
    }
    return $month;
  }
private static function readjustMonth ( int $ month ) : int { switch ( true ) { case 1 <= $ month && $ month <= 12 : break ; case 21 <= $ month && $ month <= 32 : $ month -= 20 ; break ; case 41 <= $ month && $ month <= 52 : $ month -= 40 ; break ; case 61 <= $ month && $ month <= 72 : $ month -= 60 ; break ; default : throw new FallenException ( 'month' , $ month ) ; } return $ month ; }
Adjust the month by taking into account modifications for bisnummers and self assigned rijksregisternummers.
Adjust the month by taking into account modifications for bisnummers and self assigned rijksregisternummers .
// A normal rijksregisternummer. // The rijksregisternummer is a bisnummer and gender is unknown. // The rijksregisternummer is a bisnummer and gender is known. // The rijksregisternummer is self assigned.