title: Converting Java Date to OffsetDateTime
body: <p>I have an eta value that is an OffsetDateTime and I have a scheduledDate that is a Date type. If the eta isn't set I want to fall back to the Date.</p>
  
  <p>An example of the date is <code>Tue Jul 21 10:32:28 PDT 2020</code>. To convert this, I tried doing:
  <code>
  OffsetDateTime.ofInstant(dto.getScheduledTime().ToInstant(), ZoneOffset.UTC)
  </code>
  It feels like the utc offset is wrong since the Date has PDT in it already, but at the same time that's also not a timezoneId like "America/Los_Angeles".</p>
  
  <p>I'm a little confused on how to handle this.</p>