Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add monthly and yearly to period generator #6

Open
lucarlig opened this issue Jun 16, 2022 · 1 comment
Open

Add monthly and yearly to period generator #6

lucarlig opened this issue Jun 16, 2022 · 1 comment
Labels

Comments

@lucarlig
Copy link
Contributor

The transaction limit is 1200 bytes so uploading an array of periods would require a lot of requests for long SLAs with many periods.

the idea is to implement a generator that generates the timestamp giving a start time, number of periods, and periods type.
minutes and weeks are just simple multiplications. To implement months and years period types need to consider the calendar rules around Feb 29th and 4th years.

@lucarlig
Copy link
Contributor Author

reinstated generator with an enum for monthly, yearly, and custom. monthly and yearly still to implement

@lucarlig lucarlig removed the Bug label Jul 8, 2022
@lucarlig lucarlig changed the title Create a period generator Add monthly and yearly to period generator Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant