![]() |
VOOZH | about |
public static MonthDay now(Clock clock)Parameters: This method accepts clock as parameter which represents the clock to use. Return value: This method returns the current month-day. Below programs illustrate the now(Clock clock) method of MonthDay in Java: Program 1:
MonthDay: --05-09
Month: MAY