Class DateTimeConverter
java.lang.Object
google.registry.persistence.converter.DateTimeConverter
- All Implemented Interfaces:
jakarta.persistence.AttributeConverter<org.joda.time.DateTime,
ZonedDateTime>
public class DateTimeConverter
extends Object
implements jakarta.persistence.AttributeConverter<org.joda.time.DateTime,ZonedDateTime>
JPA converter to for storing/retrieving
DateTime
objects.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconvertToDatabaseColumn
(org.joda.time.DateTime attribute) org.joda.time.DateTime
-
Constructor Details
-
DateTimeConverter
public DateTimeConverter()
-
-
Method Details
-
convertToDatabaseColumn
- Specified by:
convertToDatabaseColumn
in interfacejakarta.persistence.AttributeConverter<org.joda.time.DateTime,
ZonedDateTime>
-
convertToEntityAttribute
- Specified by:
convertToEntityAttribute
in interfacejakarta.persistence.AttributeConverter<org.joda.time.DateTime,
ZonedDateTime>
-