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.
Constructor and Description |
---|
JodaTimeTranslators() |
public static void add(ObjectifyFactory fact)
Copyright © 2016. All rights reserved.