You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instant currently doesn't support adding days because they're treated as "calendar days" in the rest of the library (which aren't always 24 hours due to DST). However, for Instant days can be assumed to always be 24 hours.
Implementing this needs to be weighed with the downside of muddying the water between "standard" days and "calendar" days
The text was updated successfully, but these errors were encountered:
As someone who just had to deal with people circumventing NodaTime 's intentionally missing Instant.PlusDays via Instant.Plus(Duration.FromDays(...)), I second Temporal's decision. Adding days to an Instant is one of those things that work well for almost all times and looks reasonable enough that it only really blows up on DST change days.
Instant
currently doesn't support addingdays
because they're treated as "calendar days" in the rest of the library (which aren't always 24 hours due to DST). However, forInstant
days can be assumed to always be 24 hours.Implementing this needs to be weighed with the downside of muddying the water between "standard" days and "calendar" days
The text was updated successfully, but these errors were encountered: