Share My Creation GedCom dates parser

This program accepts and converts data from files created using the GedCom standard to the required format.
Dates can consist of:
- day, month
- day, month, year
- month, year
- year
Dates can also be empty.
Years can be from 1 to 9999.
Days and months of one or two digits are accepted and converted to two-digit numbers.
All dates are validated for the number of days in a month, including leap years.
Dates can be displayed in various formats, which the user can select.
Date input fields have a mask for convenient display of information according to the selected format.
Compliance with the accepted date prefixes is checked.
Detailed messages are displayed for any errors detected.
For a date without errors, the date is returned according to the standard.
Unfortunately, AnotherDatePicker does not allow the entry of all years in the specified range.
In this case, manual entry is required. I'd be happy to discuss possible proposals.
It would be great if you could help create a library that accepts a date and data display format and returns a date in the GedCom standard.
 

Attachments

  • GedCom dates parser.zip
    406.3 KB · Views: 6
  • 01.png
    01.png
    24.3 KB · Views: 88
Top