during the time of Elijah
"when Elijah was prophesying in Israel"
when the sky was shut up
"when no rain fell down from the sky" or "when there was no rain at all"
a great famine came upon all the land
"there was a serious lack of food in all the land"