Creates and validates a version number from a string.
Creates a 'simple' version with only major, minor, patch components
Compare two different versions and return the parte they differ on.
Compare two different versions and return the parte they differ on.
Increment version number.
Property that indicates whether this $(D_PSYMBOL SemVer) is stable.
Property that indicates whether this $(D_PSYMBOL SemVer) is valid.
Compare this $(D_PSYMBOL SemVer) with the other $(D_PSYMBOL SemVer).
Check for equality between this $(D_PSYMBOL SemVer) and the other $(D_PSYMBOL SemVer).
Query a Major, Minor and Patch as integers
Query a possibly decoded PRERELEASE and BUILD string
Return the canonical string format.
Represent a semantic version number
Semantic versions are usually represented as string as: MAJOR[.MINOR[.PATCH]][-PRERELEASE][+BUILD]. For ease of use, a leading v or a leading = are also accepted. Invalid input to the constructor will not throw, but the version will be marked as invalid. This can be checked via isValid.