IsoChronology.dateNow

Obtains the current ISO local date from the specified clock. !(p) This will query the specified clock to obtain the current date - today. Using this method allows the use of an alternate clock for testing. The alternate clock may be introduced using {@link Clock dependency injection}.

@param clock the clock to use, not null @return the current ISO local date, not null @throws DateTimeException if unable to create the date

  1. LocalDate dateNow()
  2. LocalDate dateNow(ZoneId zone)
  3. LocalDate dateNow(Clock clock)
    class IsoChronology

Meta