public class ZonedDateTimeConverter extends Object implements javax.persistence.AttributeConverter<ZonedDateTime,Date>
ZonedDateTimeConverter is an attribute converter for ZonedDateTime to
Date.
ZonedDateTime the type of the entity attribute Date the type of the database
column| Constructor and Description |
|---|
ZonedDateTimeConverter() |
| Modifier and Type | Method and Description |
|---|---|
Date |
convertToDatabaseColumn(ZonedDateTime date) |
ZonedDateTime |
convertToEntityAttribute(Date value) |
public Date convertToDatabaseColumn(ZonedDateTime date)
convertToDatabaseColumn in interface javax.persistence.AttributeConverter<ZonedDateTime,Date>public ZonedDateTime convertToEntityAttribute(Date value)
convertToEntityAttribute in interface javax.persistence.AttributeConverter<ZonedDateTime,Date>Copyright © 2015–2017 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.