DevelocityVersion

constructor(@Json(name = "string") string: String, @Json(name = "year") year: Int, @Json(name = "release") release: Int, @Json(name = "patch") patch: Int)

Parameters

string

The complete version string of format YEAR.RELEASE.PATCH, where the patch component is omitted when 0 (e.g. 2022.3, 2022.3.1).

year

The gregorian calendar year of the release.

release

The sequence number of the release for that year, starting with 1.

patch

The patch level of the release, starting with 0.