To calculate the time overlapping by various ranges.
- Make sure node is installed in the system.
To run the project use node server.
git clone https://github.com/arpitprojects/industrial-system.git
cd industrial-system
node index.js
- Data file contains the sample json response from which scenarios gets tested.
- ES6 class is implementated in javascript.
- Input is collected using the realine module.
- Input is validated using Regex.
- start time and end time is formatted using Date object.
- Comparison is done.
- Overlaps are found.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.