openfisca-core icon indicating copy to clipboard operation
openfisca-core copied to clipboard

Add date units to periods

Open bonjourmauko opened this issue 3 years ago • 2 comments

Depends on #1138

Thanks for contributing to OpenFisca! Remove this line, as well as any other in the following that don't fit your contribution :)

New features

  • Introduce DateUnit to periods
    • Allows for transparent encapsulation of the atomic units of periods (year, month, ...).
    • This helps with testing, refactoring and exrtension of periods (weeks for example).

bonjourmauko avatar Jul 29 '22 02:07 bonjourmauko

Coverage Status

Coverage increased (+0.7%) to 79.676% when pulling f51fc6252ba9ff6f101cdc09cf06f84a619da86b on add-date-units into 3eb157f20ebcad6a87ecc583c00f266dc22dca0e on master.

coveralls avatar Jul 29 '22 02:07 coveralls

Looks nice @maukoquiroga.

benjello avatar Jul 29 '22 08:07 benjello

Superseded by #1138

bonjourmauko avatar Dec 19 '22 10:12 bonjourmauko