-
-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
From the NodaTime docs
A duration represents a fixed length of elapsed time along the time line that occupies the same amount of time regardless of when it is applied. In contrast, Period represents a period of time in calendrical terms (years, months, days, and so on) that may vary in elapsed time when applied.
In general, use Duration to represent durations applied to global types like Instant and ZonedDateTime; use Period to represent a period applied to local types like LocalDateTime.
I understand that as: Period should be used with the Local* types and Duration with the Zoned* types.
So Period support would be nice :)
HerrNiklasRaab and StijnOttenVMT
Metadata
Metadata
Assignees
Labels
No labels