How many days/ nights in Yogyakarta/Borobudur?


My husband and I are planning to visit Yogyakarta and Borobodur next January.

Because our flight probably will arrive around 8pm in Yogy, we are thinking of staying the first 2nights there and 2 more in Borobudur. It would be three full days and one half day in the area.

Is it ok for visiting the main attractions in the area ( I was thinking of a half day tour in yogy, Pranbanam, Borobudur temple, volcano tour)?