docs: function (/*index,*/type, startindexOfWeek, zeroBased) {
  	var onDateObj=0,index;
  
  	if (this && this.constructor && this.constructor.name==="XaDate") {
  		onDateObj=1;
  	}
  	index = (onDateObj?this.getDay():arguments[0]||0);
  	type = (""+arguments[1-onDateObj]||_dateDict.days.defaultKey).toLowerCase();
  	startindexOfWeek = (onDateObj?0:arguments[2]||0);
  	zeroBased = (onDateObj?true:!!(typeof arguments[3]!=="undefined"? arguments[3]:true));
  	
  	index =((index - (zeroBased ? 0 : 1) + startindexOfWeek) % 7);
  	type=(!_dateDict.days.hasOwnProperty(type)?_dateDict.days.defaultKey:type);
  	index=(index<0?7+index:index);
  	return _dateDict.days[type][index];
  }