Click or drag to resize

YearMonthDay Constructor (Int32, Int32, Int32)

Initializes a YearMonthDay from the provided values.

Namespace:  AGI.Foundation.Time
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
public YearMonthDay(
	int year,
	int month,
	int day
)

Parameters

year
Type: SystemInt32
The year.
month
Type: SystemInt32
The month of the year, in the range 1 through 12.
day
Type: SystemInt32
The day of the month, in the range 1 through the number of days in month.
Exceptions
ExceptionCondition
ArgumentException Thrown when year, month, or day is outside of its acceptable range.
See Also