用"hardly……when……"和"nosooner……than"在句中和句首的形式翻译以下句子

问题描述:

用"hardly……when……"和"nosooner……than"在句中和句首的形式翻译以下句子
需翻译的句子为:我们刚到乡下,天就开始下雨了.

Hardly had we arrived to the country when it rained.
No sooner had we arrived to the country than it rained.
要记住的是前面要用完成时态.