week_of_year library

Functions

dateTimeFromWeekNumber(int year, int weekNumber, [int weekDay = DateTime.monday]) DateTime
Create a DateTime based on ISO year, week number, and optional week day.