-
Notifications
You must be signed in to change notification settings - Fork 6
Description
Hey @nscuro,
I have a usecase where I want to denote a status for the version range of a product using vers notation.
It should be possible to have multiple different status for a product, as long as they are not applied for the same exact version.
For this to be consistent I would like to be able to take 2 vers specifiers and be able to check if they have any overlap (if there could exist any version that would be included in both of the ranges).
I have a basic implementation of that in my project based on versatile and would be up for contributing it back upstream if it sounds useful. Either in the Vers.java something like boolean overlapsWith(Vers vers) or in VersUtils.java something like boolean overlapBetween(vers1, vers2) looks like a reasonable place to add this.
Any Thoughts?