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.242-beta+5de70bd1c87865d409ebc16b8886196644c0c750
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