GregorianDate Constructor (Int32, Int32, Int32, Int32, Double) |
Namespace:
AGI.Foundation.Time
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public GregorianDate(
int year,
int dayOfYear,
int hour,
int minute,
double second
)
Public Sub New (
year As Integer,
dayOfYear As Integer,
hour As Integer,
minute As Integer,
second As Double
)
public:
GregorianDate(
int year,
int dayOfYear,
int hour,
int minute,
double second
)
new :
year : int *
dayOfYear : int *
hour : int *
minute : int *
second : float -> GregorianDate
Parameters
- year
- Type: SystemInt32
The year. - dayOfYear
- Type: SystemInt32
The day of year
(in the range 1 through the number of days in the given year). - hour
- Type: SystemInt32
The hour (in the range 0 through 23). - minute
- Type: SystemInt32
The minute (in the range 0 through 59). - second
- Type: SystemDouble
The second, including fractional seconds (in the range 0.0
up to, but not including, 61.0). A second between 60.0 and 61.0 (a leap
second) is only valid if the overall time is during one of the official leap
seconds.
Exceptions Exception | Condition |
---|
ArgumentException |
Thrown when one of the provided parameters is outside its acceptable range.
|
See Also