How do you parse, using using the ThreeTen library (I can't use java 8) a string of the following format:
15 Aug 2014
forcing this to become a ZonedDateTime
meaning 15 August 2014 in UTC timezone at midnight?
How do you parse, using using the ThreeTen library (I can't use java 8) a string of the following format:
15 Aug 2014
forcing this to become a ZonedDateTime
meaning 15 August 2014 in UTC timezone at midnight?
Copyright © 2021 Jogjafile Inc.
I assume you mean 2014, not 2010. If so then following code can help you:
Another more clunky way would be to use a specialized
DateTimeFormatterBuilder
using the method parseDefaulting() for the missing time and offset (not tested).