Skip to content

Add date validity checks #158

@SkylordA

Description

@SkylordA

Issue Description

There are currently no checks for date fields from the OED files.

  1. Correct Date Format of YYYY-MM-DD
  2. Expiry Dates occur after Inception Dates

This will be needed for any features which compare dates such as Support Risk Attaching 'RA' basis in reinsurance

Example data / logs

  1. Any functionality in OasisLMF which needs to compare dates needs to have the dates in the correct format. Currently these dates are stored as strings so any comparisons can have issues.
    1. "2023-07-01" < "2024-01-01" , but "01/01/2024" < "01/07/2023"
  2. Expiry dates occurring after Inception Dates is self explanatory

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions