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.110 -- Release Build+3e0464f4461df4d3e1175b13966eb47ff832554d
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