The militant wing of Hamas has rejected the seven-hour humanitarian ceasefire declared by Israel.