TwoPartIdGenerator now uses java DateTime rather than Joda.