How in Joda or Java can I write a method that returns a boolean value if today is the first day of the current month? Like if today's date is the first day of this month, it will return true
.
It could be something like this:
public static boolean isFirstDayOfTheMonth( Date dateToday ){
boolean isFirstDay = false;
//code to check if dateToday is first day of the current month.
returns isFirstDay;
}
Thank you in advance!