Tanya Stolz wrote: I loaded the file into an Arraylist...
...but now I cannot figure out how to loop through find the In and Out date - calculate the hours worked and then move on to the next day.
Tanya Stolz wrote:I did the entire project with no problems until here - I sent everything to a file in string format with tabs. I thought it would be easy to bring it back in and compare not the case. I tried to bring the string date back
in and convert to date and it converted but to no avail did not do what I expected.
I understand how to write simple things but when it came to this part I cannot wrap my mind around the How To -
I know it is very messy all of that became because I was so stressed. I just started putting things in there just to see if and what was in the index. I should have removed all of that before submitting.
I do have two classes Employee for Id, first and last name. And TimeClock which holds the emp ID, place holder punch I or O, date, time, day. Should I be using the classes and not the file?
I guess I really am not grasping the looping and comparing methodology...
Tanya Stolz wrote:I am going to tear it apart and try adding methods to grab the date and time. I have done all the basics throughout the class and really found it easy until this...
Tanya Stolz wrote:Here are the guidelines for this project...
The moth suit and wings road is much more exciting than taxes. Or this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koophttps://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton