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.128 -- Release Build+d050cfc5563c89a1188cc3c6b2d417530856f490
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