YearMonthDayDaysInYear Method |
Provides the number of days in the indicated year.
Namespace:
AGI.Foundation.Time
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public static int DaysInYear(
int year
)
Public Shared Function DaysInYear (
year As Integer
) As Integer
public:
static int DaysInYear(
int year
)
static member DaysInYear :
year : int -> int
Parameters
- year
- Type: SystemInt32
The year.
Return Value
Type:
Int32The number of days in the year (365 for a common year and 366 for a
leap year).
See Also