Changed from Calendar to JodaTime on costs query