Skip to content
This repository has been archived by the owner on Dec 3, 2019. It is now read-only.

Timestamp decoder/encoder does not support infinity #247

Open
cornerman opened this issue May 10, 2018 · 0 comments
Open

Timestamp decoder/encoder does not support infinity #247

cornerman opened this issue May 10, 2018 · 0 comments

Comments

@cornerman
Copy link

In postgres, there are some special date/time/timestamp values like infinity and -infinity (see https://www.postgresql.org/docs/current/static/datatype-datetime.html#DATATYPE-DATETIME-SPECIAL-TABLE). These can also show up as values in a column.

When decoding special timestamp values like infinity the decoder throws an IllegalArgumentException with "invalid format: infinity".

Can we support this?

Maybe related for having a proper counter part in the joda data types: https://sourceforge.net/p/joda-time/feature-requests/79/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant