Database :: majorVersionEnd - Get major version end
When any kind of managed versioning is enabled ( versioningMode() ), the function returns the termination time point for the major version passed in iVersion . The version number passed in iVersion must be less than version count ( majorVersionCount() ). The end of the last major version is open, i.e. the end for last major version is empty.
When an invalid version number has been passed in iVersion or when the versioning mode is not managed, the function throws an exception.
A date time value or timestamp is passed in the internal ODABA Interface::Date-time format.
Implementation details
- iVersion
- Major version number
Major versions are defined on database level. database versions are numbered consecutively beginning with 0, when consistent versioning has been enabled.