java how to input local date
This could be used by an application as a far future date. Method Detail now public static LocalDate now() Obtains the current date from the system clock in the default time-zone. This will query the system clock in the default time-zone to obtain the current date. Using this method will prevent the ability to use an alternate clock for testing because the clock is hard-coded.