package com.example.schedulerapp; //todo: how does sql work? would that be easier? import java.util.ArrayList; public class Schedule { private ArrayList<Shift> shifts; public Schedule(){ shifts = new ArrayList<>(); } // output: all shifts public ArrayList<Shift> getAllShifts(){ return shifts; } //todo: java date? // output: all shifts starting and/or ending on the given date public ArrayList<Shift> getDateShifts(){ ArrayList<Shift> result = new ArrayList<>(); // get all appropriate shifts, add to result return null; //return result; } //todo // output: all shifts assigned to given employee public ArrayList<Shift> getEmpShifts(int empID){ ArrayList<Shift> result = new ArrayList<>(); // get all appropriate shifts, add to result return null; //return result; } //todo // output: all shifts marked as available public ArrayList<Shift> getAvailableShifts(){ ArrayList<Shift> result = new ArrayList<>(); // get all appropriate shifts, add to result return null; //return result; } }