Annotation Type HonoTimestamp


  • @Retention(RUNTIME)
    @Target({FIELD,PARAMETER,METHOD})
    @Documented
    public @interface HonoTimestamp
    An annotation to indicate that an Instant valued field should be de-/serialized from/to a string in ISO-8601 extended offset date-time format.

    During deserialization, the date-time is normalized to UTC. For example, the string 2019-09-15T15:23:10+02:00 will be deserialized into an Instant which will then be serialized to 2019-09-15T13:23:10Z.