time-to-botec/squiggle/node_modules/@stdlib/time/iso-weeks-in-year/docs/repl.txt
NunoSempere b6addc7f05 feat: add the node modules
Necessary in order to clearly see the squiggle hotwiring.
2022-12-03 12:44:49 +00:00

32 lines
652 B
Plaintext

{{alias}}( [year] )
Returns the number of ISO weeks in a year according to the Gregorian
calendar.
By default, the function returns the number of ISO weeks in the current year
(according to local time). To determine the number of ISO weeks for a
particular year, provide either a year or a `Date` object.
Parameters
----------
year: integer (optional)
Year.
Returns
-------
out: integer
Number of ISO weeks in a year.
Examples
--------
> var num = {{alias}}()
<number>
> num = {{alias}}( 2015 )
53
> num = {{alias}}( 2017 )
52
See Also
--------