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.220-beta+a56b2444ff27b37e053039e60f062b99378309bd
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