added joda helper and tests