Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

[13:21:02 CDT(-0500)] <EricDalquist> it does:

[13:21:46 CDT(-0500)] <EricDalquist> new LocalDate(start.getMillis(), start.getChronology());

[13:21:55 CDT(-0500)] <EricDalquist> and chronology includes the TZ

[13:22:14 CDT(-0500)] <EricDalquist> so it is creating that LocalDate using the TZ of the start DateTime

[13:23:52 CDT(-0500)] <drewwills> https://gist.github.com/drewwills/5556362

[13:24:51 CDT(-0500)] <drewwills> i end up with "start.toLocalTime()=00:00:00.000" and "end.toLocalTime()=23:59:59.000" (no TZ adjustment)

[13:25:53 CDT(-0500)] <drewwills> NB: that was after I changed from UTC >> local time in the test

[13:26:01 CDT(-0500)] <drewwills> i should undo that and re-run it

[13:28:19 CDT(-0500)] <drewwills> there – updated