A cease-fire agreement between the Hamas militant group and Israel has been confirmed by both parties, along with Washington and Qatar, which helped broker the deal that would bring a temporary halt to the devastating war that is now in its seventh week.