GregorianDate Constructor (Int32, Int32, Int32) |
Initializes a
GregorianDate from the provided values. The
remaining values are assumed to be zero.
Namespace:
AGI.Foundation.Time
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public GregorianDate(
int year,
int month,
int day
)
Public Sub New (
year As Integer,
month As Integer,
day As Integer
)
public:
GregorianDate(
int year,
int month,
int day
)
new :
year : int *
month : int *
day : int -> GregorianDate
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 Exception | Condition |
---|
ArgumentException |
Thrown when one of the provided parameters is outside its acceptable range.
|
See Also