.. java:import:: org.joda.time DateTime .. java:import:: org.motechproject.commons.date.util DateUtil DateTimeValueGenerator ====================== .. java:package:: org.motechproject.mds.jdo :noindex: .. java:type:: public abstract class DateTimeValueGenerator extends AbstractObjectValueGenerator The \ ``DateTimeValueGenerator``\ class modifies properties with \ :java:ref:`org.joda.time.DateTime`\ type. If the given value is null then the current time is returned; otherwise the given value is returned. Methods ------- modify ^^^^^^ .. java:method:: @Override protected DateTime modify(DateTime value) :outertype: DateTimeValueGenerator