<div dir="ltr"><div dir="ltr"><div><span style="font-family:monospace">Period</span> is like <span style="font-family:monospace">Duration</span> - they are both "lengths of time", just using different units (so they are both a <span style="font-family:monospace">TemporalAmount<font face="arial,sans-serif">).</font></span></div><div><br></div><div>Similar to how <span style="font-family:monospace">LocalDateTime</span> vs. <span style="font-family:monospace">Instant<font face="arial,sans-serif"> are both "points in time", just using different units (</font></span>so they are both a <span style="font-family:monospace">Temporal</span><span style="font-family:monospace"><font face="arial,sans-serif">).</font></span></div><br><div>But you bring up a good point - perhaps <span style="font-family:monospace">CalendarDuration</span> would have been a better name than <span style="font-family:monospace">Period</span>...</div><div><br></div><div>-Archie</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 18, 2025 at 12:24 PM Pavel Rappo <<a href="mailto:pavel.rappo@gmail.com" target="_blank">pavel.rappo@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">We are talking about a period, not an interval. I used the word<br>
"interval" in my previous email in the sense close to that def. #5<br>
from your dictionary link:<br>
<br>
> : a set of real numbers between two numbers either including or excluding one or both of them<br>
<br>
So to me, an interval between two dates logically consists of all<br>
(time) instants between its both ends.<br>
<br>
Alright, your reply kinda tips the scales in favour of "it's just me".<br>
Perhaps others don't have a similar issue with java.util.Period.<br></blockquote><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Archie L. Cobbs<br></div></div>
</div>