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.141 -- Release Build+8fc1477299d57116e2a4f3cb8dfe059f814b239b
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