You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Split an DateTime interval into smaller intervals, e.g. per day, week, month, quarter, year etc.
Aka, so can build statistics etc. with multiple smaller time spans, inside a bigger "range".
I found multiple Stackoverflow questions asking for the same, but given if you want to support many intervals, it easily get's little complex, so maybe this would be a suitable use case for this library?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I guess this is a popular use case:
Aka, so can build statistics etc. with multiple smaller time spans, inside a bigger "range".
I found multiple Stackoverflow questions asking for the same, but given if you want to support many intervals, it easily get's little complex, so maybe this would be a suitable use case for this library?
(Or maybe it is "easily" implemented oneself, so hmm.)
Edit: Backlink Giannoudis/TimePeriodLibrary#19
All reactions