|
TimeSecondsPerYear Method
|
Returns the number of seconds in the specified year.
Namespace: GSF.UnitsAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.253-beta+ffb7163c9e3b771705bc5b9aa3f09870f2cb9e2c
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