# Introduction In Java, the until() method of LocalDate class is used to get the amount of time until another date in terms of the specified unit. It calculates the amount of time between two LocalDate objects in terms of a single TemporalUnit. This method returns a long type value. The result will be negative if the end date is before the start date. This lab will demonstrate how to use the until() method of the LocalDate class in Java.
Click the virtual machine below to start practicing