Proca.Contact.EciBg (proca v3.4.1)

Bulgaria validations for ECI id numbers

Link to this section Summary

Functions

Validation for Bulgarian UCI (EGN) number.

Is date valid and in past?

Link to this section Functions

Validation for Bulgarian UCI (EGN) number.

More on the algorithm: https://en.wikipedia.org/wiki/Unique_citizenship_number

This method validates the checksum and the date. The date is validated to be in the past and to be a real date (33th of any month will not work for example).

@param uci a string containing the UCI number

Link to this function

is_valid_checksum(uci)

Link to this function

is_valid_date(uci)

Is date valid and in past?

Link to this function

parse_date(uci)