|
TimeSecondsPerYear Method
|
Returns the number of seconds in the specified year.
Namespace: GSF.UnitsAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.252-beta+d6f44256e7cdcd1b3455fcb1dc7bd1c8d65c988a
Syntaxpublic static long SecondsPerYear(
int year
)
Public Shared Function SecondsPerYear (
year As Integer
) As Long
public:
static long long SecondsPerYear(
int year
)
static member SecondsPerYear :
year : int -> int64
GSF.Units.Time.SecondsPerYear = function(year);
View SourceParameters
- year Int32
- The year.
Return Value
Int64
The number of seconds in the specified year.
ExceptionsException | Condition |
---|
ArgumentOutOfRangeException |
Year is less than 1 or greater than 9999.
|
See Also