A scala implementation of Hibernate composite type for Joda DateTime.