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.218-beta+101eee949414e414795e55a6e73d88938f0177b8
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