public static bool IsFromLtsToNextLts()

in Configurator/Base/Classes/ExtensionMethods.cs [864:896]


    public static bool IsFromLtsToNextLts(this Version newVersion, Version oldVersion, ServerMaturity newVersionMaturity, ServerMaturity oldVersionMaturity)
    {
      if (newVersion == null)
      {
        throw new ArgumentNullException(nameof(oldVersion));
      }

      if (oldVersion == null)
      {
        throw new ArgumentNullException(nameof(oldVersion));
      }

      if (newVersionMaturity != ServerMaturity.LTS
          || oldVersionMaturity != ServerMaturity.LTS)
      {
        return false;
      }

      if ((oldVersion.Major == 8
           && oldVersion.Minor == 0
           && oldVersion.Build >=35
           && newVersion.Major == 8
           && newVersion.Minor == 4)
          || (oldVersion.Major == 8
              && oldVersion.Minor == 4
              && newVersion.Major == 9
              && newVersion.Minor == 7))
      {
        return true;
      }

      return false;
    }