Results 1 to 2 of 2
  1. #1
    davidmuleiro is offline Member
    Join Date
    Aug 2012
    Rep Power

    Question how can i manage working day hours


    I want to ask if someone knows any API or something similar that allows me to manage concrete parts of day (for example working hours)

    My problem is that I have to manage times in the next context:

    imagine I am working in a company which working hours is "8am-2pm" and "3pm-6pm" and with a daylight saving time from "8am to 2pm". I want to know if a concrete moment of a concrete date is a laboral moment or if it isn't.

    For example if I have the mentioned calendar, and I ask the API if the "13th august 2012 at 9pm" is a working moment it has to check it and return a correct answer (false in this case) and if I ask if the "13th august 2012 at 9am" is a working moment it has to return "true"

    Other important thing related. I have to calculate intervals between two dates with the mentioned calendar. For example, if i set begin time as "today at 5pm" and end time "tomorrow at 10am" it has to return 3 hours (or its equivalent in seconds or milliseconds) because it is the correct time period passed between the begin date and the end date in this calendar.

    It also has to work with holidays (particular of each country). I found an API call "JollyTime" but, although it works with holidays, it does not support the working hours...

    any idea?


  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Madgaon, Goa, India
    Rep Power

    Default Re: how can i manage working day hours

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Applet simply disappear after some hours working
    By mmarani in forum Java Applets
    Replies: 3
    Last Post: 06-21-2012, 02:14 PM
  2. How many hours a day to learn/programming
    By loveCatz in forum New To Java
    Replies: 11
    Last Post: 12-27-2010, 02:33 AM
  3. getting hours and minutes
    By silversurfer2in in forum New To Java
    Replies: 5
    Last Post: 02-17-2010, 07:35 AM
  4. Simple Project 4 or 5 Hours – Pay $100
    By billaaa777 in forum Jobs Offered
    Replies: 0
    Last Post: 08-30-2008, 12:45 AM
  5. can't manage to get this
    By mollentze in forum New To Java
    Replies: 3
    Last Post: 01-11-2008, 11:03 PM

Posting Permissions

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