Returns the number of days in the specified month and year.
Namespace: com.mindfusion.common
File: 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.
MindFusion.Charting for Java Programmer's Guide | © 2024 MindFusion |