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

Functions on periods returning a period #92

Open
3 tasks
Seddryck opened this issue Dec 12, 2022 · 0 comments
Open
3 tasks

Functions on periods returning a period #92

Seddryck opened this issue Dec 12, 2022 · 0 comments
Labels
epic-on-period new-feature Request for a new feature in the tool

Comments

@Seddryck
Copy link
Owner

  • overlap: returns a new period beginning at the same instant than the period beginning the latest and ending at the same instant than the period beginning the soonest
  • left-diff(period) : Returns the portion of the argument period that exists before the beginning of the parameter period when the periods overlap. When the periods overlap but there is no portion of the argument period before the beginning of the parameter period or the periods do not overlap, the function returns null. If either period is null, it returns null.
  • right-diff(period) : Returns the portion of the argument period that exists from the end of the parameter period when the periods overlap. When the periods overlap but there is no portion of the argument period the argument period from the end of the parameter expression or if the periods do not overlap, it returns null. If either period is null, it returns null.

timeUnit is a string within the following potential values: year, quarter, month, week, day, hour, minute, second

@Seddryck Seddryck added new-feature Request for a new feature in the tool epic-on-period labels Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic-on-period new-feature Request for a new feature in the tool
Projects
None yet
Development

No branches or pull requests

1 participant