Package highfive.serializers
Class ZonedDateTimeSerializer
- java.lang.Object
-
- highfive.model.Serializer<ZonedDateTime>
-
- highfive.serializers.ZonedDateTimeSerializer
-
public class ZonedDateTimeSerializer extends Serializer<ZonedDateTime>
-
-
Field Summary
-
Fields inherited from class highfive.model.Serializer
ALL
-
-
Constructor Summary
Constructors Constructor Description ZonedDateTimeSerializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ZonedDateTimegetValue()byte[]read(ResultSet rs, int ordinal)voidset(PreparedStatement ps, int ordinal)-
Methods inherited from class highfive.model.Serializer
find, getName
-
-
-
-
Method Detail
-
read
public byte[] read(ResultSet rs, int ordinal) throws SQLException
- Specified by:
readin classSerializer<ZonedDateTime>- Throws:
SQLException
-
getValue
public ZonedDateTime getValue()
- Specified by:
getValuein classSerializer<ZonedDateTime>
-
set
public void set(PreparedStatement ps, int ordinal) throws SQLException
- Specified by:
setin classSerializer<ZonedDateTime>- Throws:
SQLException
-
-