Returns the number of days in the specified month and year.
Namespace: com.mindfusion.common
Package: com.mindfusion.common
Java Copy Code |
---|
public static int daysInMonth ( |
The year.
The month (a number ranging from 1 to 12).
The number of days in month for the specified year. For example, if month equals 2 for February, the return value is 28 or 29 depending upon whether year is a leap year.
JPlanner Programmer's Guide | © 2023 MindFusion |