We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Java
- Introduction
- Java Date and Time
- Discussions
Java Date and Time
Java Date and Time
Sort by
recency
|
1485 Discussions
|
Please Login in order to post a comment
Why is this answer get downvoted? SMH
Calendar is no longer advised, why does the problem include it rather than the newer api?
public static String findDay(int month, int day, int year) { if (month <= 2) { month += 12; year--; }
}