|
TimeSecondsPerMonth Method
|
Returns the number of seconds in the specified month and year.
Namespace: GSF.UnitsAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.250-beta+e1aac152bf9c38c67035c6d283461f222e39e02a
Syntaxpublic static int SecondsPerMonth(
int year,
int month
)
Public Shared Function SecondsPerMonth (
year As Integer,
month As Integer
) As Integer
public:
static int SecondsPerMonth(
int year,
int month
)
static member SecondsPerMonth :
year : int *
month : int -> int
GSF.Units.Time.SecondsPerMonth = function(year, month);
View SourceParameters
- year Int32
- The year.
- month Int32
- The month (a number ranging from 1 to 12).
Return Value
Int32
The number of seconds, as a
Time, in the month for the specified year.
ExceptionsException | Condition |
---|
ArgumentOutOfRangeException |
Month is less than 1 or greater than 12. -or- year is less than 1 or greater than 9999.
|
See Also