The Employee Analyzer is a Java program that analyzes employee work patterns from a CSV file. It identifies employees who have:
- Worked for 7 consecutive days.
- Had less than 10 hours of break between shifts but greater than 1 hour.
- Worked for more than 14 hours in a single shift.
- Java Development Kit (JDK)
- Clone the Git repository.
- Compile the Java code:
javac EmployeeAnalyzer.java
- Run the program:
java EmployeeAnalyzer
- Replace
"employee_records.csv"
with your CSV file path.
- Replace
The program expects a CSV file with these columns:
- Position ID
- Position Status
- Time
- Time Out
- Timecard Hours (as Time)
- Pay Cycle Start Date
- Pay Cycle End Date
- Employee Name
- File Number
Example CSV format: