Boomi/Java/Groovy noob here... I'm starting with a date (that's sent to us from a 3rd party vendor) that's formatted like this: 2018-04-18 12:15:00.000000 (no 'T') which we've been told is in the America/Chicago TZ. What I ultimately need, is to get my output in the following date format (with the 'T', and an offset added):
2018-04-18T12:15:00.000000-06:00
-or-
2018-04-18T12:15:00.000000-05:00 (depending on whichever is the local time for that particular time of year in Chicago)
I've floundered around trying numerous combinations of SimpleDateFormat, ZoneID.of, ZonedDateTime.ofInstant, LocalDateTime.ofInstant, LocalDateTime.parse, etc... So, far I've failed miserably in finding the correct combination.
Any help would be greatly appreciated!!