public static bool IsFromLtsToInnovationBeforeNextLts()

in Configurator/Base/Classes/ExtensionMethods.cs [907:939]


    public static bool IsFromLtsToInnovationBeforeNextLts(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.Innovation
          || 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;
    }