Class JodaTimeTranslators

java.lang.Object
com.googlecode.objectify.impl.translate.opt.joda.JodaTimeTranslators

public class JodaTimeTranslators extends Object

A convenient static method that adds all the joda-time related converters to your factory's conversions. We can't enable the joda-time converters automatically or it would force everyone to add joda-time.jar whether they use it or not. To enable, call this:

JodaTimeTranslators.add(ObjectifyService.factory());

All custom translators must be registered *before* entity classes are registered.

Author:
Jeff Schnitzer invalid input: '<'[email protected]>