-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
Sequence::getTotalTimeStampInterval #79
Sequence::getTotalTimeStampInterval #79
Conversation
Ok, I just noticed there is a bug when you use this method on a Sequence containing more then 1 Period. |
@@ -226,7 +226,7 @@ public function getGaps(): self | |||
*/ | |||
public function getTotalTimestampInterval(): float |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you revert the method name change 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, as I said your name makes sense if you intend the inner time between the boundaries.
However I intend the total sum of timestamp intervals of the contained Periods.
|
As asked in #78 I think that this method would be useful everytime you need to calculate the total amount of hours in a calendar.