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