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.152 -- Release Build+1bdd5395ab91a1a698659399697f8334859b02d2
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