phax / ph-ubl

Java library for reading and writing UBL 2.0, 2.1, 2.2, 2.3 and 2.4 documents

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

time Adapter

jpaezlancheros opened this issue · comments

I have a question
in ph-ubl time (adpater with LocalTime) is it posislbe to get it marshalled with timezone ? like '13:24:00-05' ... it gets marshalled '13:24:00.213'

Regards

Yes, you are so right - I noticed that myself as well - it's a bit "unlucky". I would go for ZonedDateTime instead.

Forget my previous comment. I can see java.time.OffsetTime - yes, that would make sense.
The only problem is dates with a TimeZone - that would cause issues, because there is no "OffsetDate" type available

Fixed with 6.5.0