This repository was archived by the owner on Oct 13, 2025. It is now read-only.

Description
Hello,
thanks for this module.
Have you considered to add the support of others date types ?
java.time.ZonedDateTime
java.time.OffsetDateTime
I have added support for OffsetDateTime in my application:
@Override
public OffsetDateTime deserialize(VPackSlice parent,
VPackSlice vpack,
VPackDeserializationContext context)
throws VPackException {
return OffsetDateTime.parse(vpack.getAsString(),
java.time.format.DateTimeFormatter.ISO_OFFSET_DATE_TIME);
}
@Override
public void serialize(VPackBuilder builder,
String attribute,
OffsetDateTime offsetDateTime,
VPackSerializationContext context)
throws VPackException {
builder.add(attribute,
offsetDateTime.format(java.time.format.DateTimeFormatter.ISO_OFFSET_DATE_TIME));
}
But i worry that the support might be added in this module with a different/incompatible implementation.