days, but .getDay() is deprecated and compiler do not suggest a replacement, can u?) sorry 4 being stupid
https://docs.oracle.com/en/java/javase/14/docs/api/java.base/java/util/Date.html I guess you should do it through java.util.Calendar, or try depreceated method
Don‘t use java.util.Date. Use the java 8+ time api java.time.* ... so basically check out LocalDate.
Обсуждают сегодня