time-to-botec

Benchmark sampling in different programming languages
Log | Files | Refs | README

repl.txt (652B)


      1 
      2 {{alias}}( [year] )
      3     Returns the number of ISO weeks in a year according to the Gregorian
      4     calendar.
      5 
      6     By default, the function returns the number of ISO weeks in the current year
      7     (according to local time). To determine the number of ISO weeks for a
      8     particular year, provide either a year or a `Date` object.
      9 
     10     Parameters
     11     ----------
     12     year: integer (optional)
     13         Year.
     14 
     15     Returns
     16     -------
     17     out: integer
     18         Number of ISO weeks in a year.
     19 
     20     Examples
     21     --------
     22     > var num = {{alias}}()
     23     <number>
     24     > num = {{alias}}( 2015 )
     25     53
     26     > num = {{alias}}( 2017 )
     27     52
     28 
     29     See Also
     30     --------
     31