• Post Reply Bookmark Topic Watch Topic
  • New Topic

Find Schedule time based on the call made  RSS feed

 
Prem kris
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi folks,

Please help me in finding a solution for this. I'm coming to the problem. My project requires finding a schedule-time based on the time, a call was made. I'll tell in detail. Saturdays and Sundays are not business days. If a call was made on a Saturday or Sunday, then the schedule time should be on 8 AM, next Monday. If the call was made after 3.45 PM on business days, then schedule time should be on 8 AM, the next business day. If the call was made before 7 AM on a business day, then the schedule time should be on 8 AM, the same day. Finally, if the call was made between 7 AM & 3.45 PM on a business day, then the schedule time should be the same time.

I'm making use of Calendar class & its available methods. Can someone please help me in getting an easiest solution to fine schedule time ?


Thanks
Prem
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66306
152
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please take the time to choose the correct forum for your posts. This forum is for questions on JSP.

For more information, please read this.

This post has been moved to a more appropriate forum.
 
Henry Wong
author
Sheriff
Posts: 23295
125
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can someone please help me in getting an easiest solution to fine schedule time ?




Your detailed problem statement is pretty much the program in pseudo code -- you just have to port the pseudo code to Java. Pretty straightforward.

Henry
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!