Results 1 to 4 of 4
  1. #1
    ThePwnageKing is offline Member
    Join Date
    May 2011
    Posts
    2
    Rep Power
    0

    Default Java or Excel? Lifeguard rotation

    ok so i have only taken one semester of java in college so fairly new to java. here is my question for some of you java experts.

    my job is a lifeguard/pool attendant at a resort and everyday, me or one of the other lead guards, need to make a rotation for the lifeguards to follow. sometimes we close down one of the stands because we are short staffed and sometimes we have enough for guards to clean or take a break for 15 minutes. it all depends on how many guards we have.

    now for the question; would making a program that will fill out the rotation be more functional than trying to make an Excel file that would fill out itself??

    and if java is your opinion, would you make an array in java with that basically mimics the excel fill and then print it to a .txt file or is there another way??

    and if Excel is your opinion, what complications do you see as being a problem with java over Excel?


    sorry if this isnt the right place to post.

  2. #2
    Dark's Avatar
    Dark is offline Senior Member
    Join Date
    Apr 2011
    Location
    Camp Lejuene, North Carolina
    Posts
    643
    Rep Power
    4

    Default

    It depends what you're trying to accomplish. Is it a static rotation or are you trying to input constantly changing variables?

    The more static your rotation is the easier it would be to throw it into excel.

    If you have to work peoples schedules in, ie can't work x days or x hours on x days it would take a little bit of work but I think java would be better.

    If you plan on using Java, you're looking at a bit more coding. Excel is pretty easy and fast, so my advice is to not make it more complex than it needs to be.
    • Use [code][/code] tags when posting code. That way people don't want to stab their eyes out when trying to help you.
    • +Rep people for helpful posts.

  3. #3
    ThePwnageKing is offline Member
    Join Date
    May 2011
    Posts
    2
    Rep Power
    0

    Default

    the rotation is a daily thing but we do have to work around somethings. for example, some of the guards tell us ahead of time that they will not be coming in until 1 PM (the rotation starts at 10 AM and goes till 6 PM at 15 minute intervals) so they cannot be scheduled to be on the stand until 1 PM.

    i want to be able to make something that has the power to change based on lifeguard availability. like, if we were to start out with 8 guards at 10AM and then have a 1 hour gap where we only have 6 guards and then we would go BACK to having 8 guards, it would not have any problems with going back and forth.

    ill post a picture of a typical rotation that was made in excel.

  4. #4
    Dark's Avatar
    Dark is offline Senior Member
    Join Date
    Apr 2011
    Location
    Camp Lejuene, North Carolina
    Posts
    643
    Rep Power
    4

    Default

    It would be best if you came up with a list of functionality you need, and functionality that you want. Then it would be easier to decide because you would be more able to compare the pros and cons of both programs.
    • Use [code][/code] tags when posting code. That way people don't want to stab their eyes out when trying to help you.
    • +Rep people for helpful posts.

Similar Threads

  1. Java - Image Rotation - How to use this code?
    By cvillejin in forum New To Java
    Replies: 1
    Last Post: 04-03-2011, 07:38 PM
  2. StringList rotation
    By aquafoam in forum New To Java
    Replies: 1
    Last Post: 04-20-2010, 08:02 AM
  3. Image Rotation
    By mix99 in forum AWT / Swing
    Replies: 1
    Last Post: 02-24-2010, 10:25 AM
  4. Log rotation in ubuntu
    By sarah11 in forum New To Java
    Replies: 0
    Last Post: 11-04-2008, 07:46 AM
  5. Rotation in java 3D
    By émilie- in forum Java Applets
    Replies: 0
    Last Post: 02-13-2008, 10:37 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •