norwegian_id_number v0.1.0 NorwegianIdNumber.Parser

Parser for Norwegian ID number to extract useful information.

Link to this section Summary

Link to this section Functions

Link to this function

execute(country_uid)
execute(String.t()) ::
  {:ok,
   %NorwegianIdNumber{
     birth_day: term(),
     birth_month: term(),
     birth_year: term(),
     id_type: term(),
     personal_number: term(),
     raw: term()
   }}
  | {:error, atom()}

Link to this function

format_country_uid(arg, date)