Crate slk581 [−] [src]
The crate provides function to encode data into SLK581 format.
The format allows encode given family name, given name, date of birth and sex into sequence
XXXZZDDMMYYYYN
.
Where XXX
encodes family name, ZZ
encodes given name, DDMMYYYY
encodes date of birth and
N
encodes sex.
Enums
SLK581Error |
Constants
FEMALE |
Female code |
INPUT_DATE_FORMAT |
Supported input format of date of birth |
MALE |
Male code |
OUTPUT_DATE_FORMAT |
Output format of date of birth |
TRANSGENDER |
Transgender code |
UNKNOWN_CHARACTER_IN_NAME |
Placeholder for missing character in given or family name |
UNKNOWN_FAMILY_NAME |
Placeholder for unknown family name |
UNKNOWN_GIVEN_NAME |
Placeholder for unknown given name |
UNKNOWN_SEX |
Placeholder for unknown sex |
Functions
encode |
This function encodes given family name, given name, date of birth and sex in |