GregorianDateRoundSeconds Method (Int32, TimeStandard) |
Rounds this instance to the specified number of decimal digits in the seconds, rolling over to minutes, hours, days,
etc. as necessary. If the specified
timeStandard is
CoordinatedUniversalTime,
(UTC), the seconds will be allowed to go above 60 during a leap second. For any other time standard, the
Second will be below 60.
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 RoundSeconds(
int digits,
TimeStandard timeStandard
)
Public Function RoundSeconds (
digits As Integer,
timeStandard As TimeStandard
) As GregorianDate
public:
GregorianDate RoundSeconds(
int digits,
TimeStandard^ timeStandard
)
member RoundSeconds :
digits : int *
timeStandard : TimeStandard -> GregorianDate
Parameters
- digits
- Type: SystemInt32
The number of digits after the decimal point to include in the seconds. - timeStandard
- Type: AGI.Foundation.TimeTimeStandard
The time standard in which this GregorianDate is expressed.
Return Value
Type:
GregorianDateThe rounded date.
See Also