This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// concatinates file names | |
function stringOfFiles(dir:string, array:[string], version:number, rev:boolean) { | |
let finalArr = []; | |
if (rev) { | |
for (let i = array.length-1; i >= version;i--) { | |
finalArr.push("-f " + dir + '/' + array[i]) | |
} | |
return " -a " + finalArr.join(' ') | |
} else { | |
for (let i = 0; i < version;i++) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default class AlarmClock { | |
querySvc:QuerySvc; | |
dbInfo: pg.ConnectionConfig; | |
date:Date; | |
timeString:V.MilitaryTime; | |
maxRingTime: number; | |
maxSnooze: number; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default class AlarmClock { | |
querySvc:QuerySvc; | |
dbInfo: pg.ConnectionConfig; | |
date:Date; | |
timeString:V.MilitaryTime; | |
maxRingTime: number; | |
maxSnooze: number; | |