TimeIterator i=coord.getTimeIterator(bounds.getX(), bounds.getMaxX(),useScale2);
long startNonworking=-1L,endNonWorking=-1L;
Calendar cal=DateTime.calendarInstance();
PredefinedPaint paint=(PredefinedPaint)calFormat.getMiddle().getPaint();//new PredefinedPaint(PredefinedPaint.DOT_LINE,Colors.VERY_LIGHT_GRAY,Color.WHITE);
paint.applyPaint(g2, useTextures());
while (i.hasNext()){
TimeInterval interval=i.next();
long s=interval.getStart();
if (CalendarService.getInstance().getDay(wc, s).isWorking()){
if (startNonworking!=-1L){