Last week I was working on something which required me to convert
Instant. The direct conversion APIs that are available needed an instance of
ZoneOffset to perform the conversion. Catch was that I had
ZoneId and not
ZoneOffset there was a tiny round-about way to do so.
I don’t know why there isn’t a native API to convert from
Instant directly using a
ZoneId. If you do then I would like to know either via email or Twitter (@varun_barad).