WeekInYear
methodsReturns week number of a specific date. According to the ISO-8601 standard, weeks starting on Monday. The first week of the year is the week that contains that year's first Thursday (='First 4-day week'). The method allows defining diffent start day by using the second parameter.
Parameters:dateDate
Returns:Number
The given date.
A number resenting the week number of a given date.