Bangladesh and Myanmar have agreed on a two-year timeline for the repatriation of hundreds of thousands of Rohingya amid international community's concern over the repatriation climate and the safety of the returnees.