Click or drag to resize

TimeSecondsPerYear Method

Returns the number of seconds in the specified year.

Namespace: GSF.Units
Assembly: GSF.Core (in GSF.Core.dll) Version: 2.4.181-beta
Syntax
public static long SecondsPerYear(
	int year
)
View Source

Parameters

year  Int32
The year.

Return Value

Int64
The number of seconds in the specified year.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException Year is less than 1 or greater than 9999.
See Also