I Have an XML that I want to deserialize.
One of the attribute is: <xs:attribute name="A_anonnceHeureSurv" type="xs:time" use="required" />
the value is like '20:30:00'
What could be the Java time to unmarshall this attribute?
For now I use a String but I want to know if there is a best solution...
If you don't care about the time-zone, then I suggest: LocalTime otherwise maybe OffsetTime.