At least with the SH you would probably get a good 10 years of use out of it. 500 aircraft (with a high use user), significant with commonality with the 1500 hornets. If they wanted to significantly delay a F-35 buy, I would probably go with SH, and flog the bejesus out of a squadron (given the options). In 10 years time the F-35 will be a proven, low risk, right in its sweet spot. They won't save any money, but it could be done I guess. Australia showed at least your SH will be operational in a very short amount of time. Gripen and Rafael seem to be slow build lines.
I'd say longer. I've just read some doco indicating that the USN will be extending the life of all its combatant platforms by a minimum of ave 5 years.