Wijmo UI for the Web
calendarWeekRule Option
wijmo.calendar.wijcalendar Namespace > options type : calendarWeekRule Option

Default value: 'firstDay'

Defines different rules for determining the first week of the year.

Syntax
$(function () {
    
    // Get value
    var returnsValue; // Type:  string
    returnsValue = $(".selector").wijcalendar("option", "calendarWeekRule");
    
    // Set value
    var newValue; // Type:  string
    $(".selector").wijcalendar("option", "calendarWeekRule", newValue);
        
});
var calendarWeekRule : string;
Example
$("#calendar1").wijcalendar(
           { calendarWeekRule: 'firstFourDayWeek'}
  );
Remarks
Possible values are: "firstDay", "firstFullWeek" or "firstFourDayWeek"
See Also

Reference

options type
wijcalendar jQuery Widget