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.238-beta+a124d269d49fa775dc92e4d7ad73327f1839917b
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