What is the general function of the Period and Duration classes?
Answer: Both classes share the same methods that allow them to manage spans of their respective units: Period corresponds to date and Duration corresponds to time. They can be created with generic methods such as ofYears(5), ofMinutes(3), between(ld1, ld2), etc.
If the answers is incorrect or not given, you can answer the above question in the comment box. If the answers is incorrect or not given, you can answer the above question in the comment box.