Course contentsShow
Java
Lesson 1858 of 2,87038. Date and Time API (java.time)Pro lesson

Creating Duration Objects: ofDays, ofHours, ofMinutes, ofSeconds

Learn factory methods for creating Duration instances representing spans of hours, minutes, seconds, and nanoseconds.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.