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