Useful methods of the DateTime API

  • 10
  • Locked
Java 8's DateTime API implements many classes and methods that greatly simplify working with dates and times. Let's implement a few simple methods to get to know them better. 1) The isLeap method must accept a date and return true if the year is a leap year, otherwise it must return false.
You can't complete this task, because you're not signed in.
  • Popular
  • New
  • Old
You must be signed in to leave a comment
This page doesn't have any comments yet