LocalDate and LocalDateTime depend on ZonedDateTime : <p>Why are the methods:<br><br>
<code>public ZonedDateTime atStartOfDay(ZoneId zone)</code> from class <strong>LocalDate</strong><br>
<br>and<br><br>
<code>public ZonedDateTime atZone(ZoneId zone)</code> from class <strong>LocalDateTime</strong><br>
<br>adding dependencies to <strong>ZonedDateTime</strong>?<br><br>
They look like "util" methods from <strong>ZonedDateTime</strong> and are in fact creating dependencies from classes (<strong>LocalDate</strong> and <strong>LocalDateTime</strong>) that shouldn't know anything about time zones.<br><br> Also, there are a lot more "util" methods that could be added to those classes to "help" with time zones.<br><br>
Is this the best approach in terms of architecture?</p>
