1let date = new Date(); 2// Here we set the time of the technical break 3function isMaintanceHour(date_start, date_stop){ 4 return date > date_start && date < date_stop; 5}; 6// Here we set the time and days of work 7function isWorkingHour(date) { 8 return date.getDay() >= 1 && date.getDay() <= 5 && date.getHours() >= 12 && date.getHours() < 18; 9}; 10function isWorkingHourCompanay(date) { 11 return date.getDay() >= 1 && date.getDay() <= 5 && date.getHours() >= 10 && date.getHours() < 16; 12}; 13 14const isWorking = isWorkingHour(date); 15const isWorkingCompany = isWorkingHourCompanay(date); 16const isMaintance = isMaintanceHour(maintanceVideoStart, maintanceVideoStop);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.