public static Employee employeeExample3() { Employee emp = new Employee(); emp.setFirstName("Lacy"); emp.setLastName("Lowry"); emp.setPeriod(new EmploymentPeriod()); emp.getPeriod().setStartDate(new Date(System.currentTimeMillis() - 48000000)); emp.getPeriod().setEndDate(new Date(System.currentTimeMillis() + 10000000)); emp.setSalary(2); return emp; }
public static Employee employeeExample4() { Employee emp = new Employee(); emp.setFirstName("Ralf"); emp.setLastName("Guedder"); emp.setPeriod(new EmploymentPeriod()); emp.getPeriod().setStartDate(new Date(System.currentTimeMillis() - 15000000)); emp.getPeriod().setEndDate(new Date(System.currentTimeMillis() + 15000000)); emp.setSalary(100); return emp; }
public static Employee employeeExample2() { Employee emp = new Employee(); emp.setFirstName("Sassly"); emp.setLastName("Soosly"); emp.setPeriod(new EmploymentPeriod()); emp.getPeriod().setStartDate(new Date(System.currentTimeMillis() - 3000000)); emp.getPeriod().setEndDate(new Date(System.currentTimeMillis() - 10000)); emp.setSalary(1000); return emp; }