TimeTypeConverter

public class TimeTypeConverter implements TypeConverter<Time, String>

This is datanucleus type converter we plug in. It is responsible for converting org.motechproject.commons.date.model.Time instances to Strings which are persisted.

Methods

toDatastoreType

public String toDatastoreType(Time memberValue)

toMemberType

public Time toMemberType(String datastoreValue)