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