GregorianDate.RoundSeconds 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: 25.1.421.0 (25.1.421.0)
Syntaxpublic 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: System.Int32
The number of digits after the decimal point to include in the seconds.
Return Value
Type:
GregorianDateThe rounded date.
See Also