you can also use Joda time's DateTime(), which is the time library we use throughout Druid. The defaultobjectmapper already knows how to understand joda time