How to calculate the date of Monday of the week if you know the week number of the year?
static TransDate getMondayDateByWeek(Week _week)
TransDate firstJanuary = mkDate(1, 1, year(systemDateGet()));
int firstDayofWeek = dayOfWk(firstJanuary);
if (_week == 1)
dayOfYear = 7 - firstDayofWeek + 1 + (7 * (_week - 1)) - 7;
transDate = dateStartYr(systemDateGet()) + dayOfYear;