Click or drag to resize

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: 20.2.404.0 (20.2.404.0)
Syntax
public GregorianDate RoundSeconds(
	int digits,
	TimeStandard timeStandard
)

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: GregorianDate
The rounded date.
See Also