in the explanation to this question it is said
while the method is actually calledLocalDate has an instance method named dayOfWeek()
Code: Select all
getDayOfWeek()
I think it would be less confusing to use the exact same name also in the explanation.
Thanks,
Cheers,
Ilenia