TimeSecondsPerYear Method

Returns the number of seconds in the specified year.

Definition

Namespace: Gemstone.Units
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.137 -- Release Build+84492f84208b356bfb930d6c506a4bce06d2449a
public static long SecondsPerYear(
	int year
)

Parameters

year  Int32
The year.

Return Value

Int64
The number of seconds in the specified year.

Exceptions

ArgumentOutOfRangeException Year is less than 1 or greater than 9999.

See Also