• M
    Inverse condition to fix ISO-formatted Instant parsing · a0e4ac39
    monosoul 提交于
    Prior to this commit, InstantFormatter was able to properly serialize
    an Instant that is far in the future (or in the past), but it could not
    properly deserialize it, because in such scenarios an ISO-formatted
    Instant starts with a +/- sign.
    
    This commit fixes this issue, while maintaining the previous contract,
    and also introduces tests for InstantFormatter.
    
    Closes gh-23895
    a0e4ac39
InstantFormatter.java 1.9 KB