Joda library not working as expected. Need to look further into it.