MonthDay.now

Obtains the current month-day from the system clock _in the default time-zone. !(p) This will query the {@link Clock#systemDefaultZone() system clock} _in the default time-zone to obtain the current month-day. !(p) Using this method will prevent the ability to use an alternate clock for testing because the clock is hard-coded.

@return the current month-day using the system clock and default time-zone, not null

  1. MonthDay now()
    class MonthDay
    static
    now
    ()
  2. MonthDay now(ZoneId zone)
  3. MonthDay now(Clock clock)

Meta