|
TimeSecondsPerYear Method
|
Returns the number of seconds in the specified year.
Namespace: GSF.UnitsAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.260-beta+0f4e919571e6ec7e8e07a8e325416284b7e38fa3
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.
Exceptions| Exception | Condition |
|---|
| ArgumentOutOfRangeException |
Year is less than 1 or greater than 9999.
|
See Also