rem:  var timeZone = this._band.getTimeZone(); var labeller = this._band.getLabeller(); 
add: minDate.setUTCFullYear(this._band.getMinDate().getUTCFullYear()); 
context: Timeline.HotZoneGregorianEtherPainter.prototype.paint = function() {    if (this._markerLayer) {        this._band.removeLayerDiv(this._markerLayer);    }    this._markerLayer = this._band.createLayerDiv(100);    this._markerLayer.setAttribute("name", "ether-markers"); // for debugging    this._markerLayer.style.display = "none";        if (this._lineLayer) {        this._band.removeLayerDiv(this._lineLayer);    }    this._lineLayer = this._band.createLayerDiv(1);    this._lineLayer.setAttribute("name", "ether-lines"); // for debugging    this._lineLayer.style.display = "none";        var minDate = this._band.getMinDate();    var maxDate = this._band.getMaxDate();        var timeZone = this._band.getTimeZone();    var labeller = this._band.getLabeller();        var p = this;    var incrementDate = function(date, zone) {        for (var i = 0; i < zone.multiple; i++) {            Timeline.DateTime.incrementByInterval(date, zone.unit);        }    };        var zStart = 0;    while (zStart < this._zones.length) {        if (minDate.getTime() < this._zones[zStart].endTime) {            break;        }        zStart++;    }    var zEnd = this._zones.length - 1;    while (zEnd >= 0) {        if (maxDate.getTime() > this._zones[zEnd].startTime) {            break;        }        zEnd--;    }        for (var z = zStart; z <= zEnd; z++) {        var zone = this._zones[z];                var minDate2 = new Date(Math.max(minDate.getTime(), zone.startTime));        var maxDate2 = new Date(Math.min(maxDate.getTime(), zone.endTime));                Timeline.DateTime.roundDownToInterval(minDate2, zone.unit, timeZone, zone.multiple, this._theme.firstDayOfWeek);        Timeline.DateTime.roundUpToInterval(maxDate2, zone.unit, timeZone, zone.multiple, this._theme.firstDayOfWeek);                while (minDate2.getTime() < maxDate2.getTime()) {            this._intervalMarkerLayout.createIntervalMarker(                minDate2, labeller, zone.unit, this._markerLayer, this._lineLayer);                            incrementDate(minDate2, zone);        }    }    this._markerLayer.style.display = "block";    this._lineLayer.style.display = "block";};
meta: 4232	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/4232/99a4a81591d52a123ab244d5988c100e445e833a/ethers.js/clean/src/main/webapp/api/scripts/ethers.js