Results 1 to 2 of 2
  1. #1
    Tritek is offline Member
    Join Date
    May 2010
    Posts
    1
    Rep Power
    0

    Default How to make a Periods of time

    Hello guys!

    My first steps in Java, not so good, but try to make me more happy.

    I like to ask a questions.

    I have a problem, and the solution i donīt know.

    Problem

    I have a small factory where an employee works at different times throughout the week.

    The problem is that it has security access to two facilities that operate at different times.

    Facilitie1 > 08:00 to 20:00
    Facilitie2 > 10:00 to 22:00


    Worker
    Schedule1 > 09:00 to 13:00 | 14:00 to 19:00
    Schedule2 > 10:00 to 14:00 | 15:00 to 20:00

    I like to change the schedule depending on the needs of the worker and not always create a new time.

    It is possible to help-me with the problem of changing the schedule originally established.

  2. #2
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    Eastern Florida
    Posts
    16,576
    Rep Power
    23

    Default

    First you'll need to describe the problem in more detail and break it into steps that you can program.
    Then start writing the program.
    When you have a problem, ask a specific question about how to solve that problem.

    I'm not sure I understand what the program is to do from what you've written so far.
    Could you give a sample of the input to the program and what the output would be for that input?

Similar Threads

  1. Replies: 3
    Last Post: 08-23-2011, 12:46 PM
  2. Do I make a new JFrame every time?
    By Swankee in forum AWT / Swing
    Replies: 2
    Last Post: 10-21-2009, 05:51 PM
  3. Make multiple JTextFields focus at the same time.
    By toymachiner62 in forum AWT / Swing
    Replies: 6
    Last Post: 10-09-2009, 02:59 AM
  4. Class Time - represents time of day
    By verbazon in forum New To Java
    Replies: 1
    Last Post: 04-13-2009, 01:06 AM
  5. Replies: 21
    Last Post: 08-01-2008, 11:13 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
  •