This week's giveaway is in the JDBC forum.
We're giving away four copies of Java Database Connections & Transactions (e-book only) and have Marco Behler on-line!
See this thread for details.
Win a copy of Java Database Connections & Transactions (e-book only) this week in the JDBC forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

Requirements unclear  RSS feed

 
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I got the URLyBird assignment and have some confusion about the requirements:

The specs state that bookings are only taken within 48 hours of the start of the room occupancy. The data file has only one field that indicates the booking:
Date available -date 10 The single night to which this record relates, format is yyyy/mm/dd.

This means a booking can only be made for one night and if a booking is made about two days in advance (48hours) then the room cannot be occupied by anyone else until this booking is finished.

No one would realistically implement such a booking system but this is what I interpreted from the specs, can anyone confirm this ??

thanks,

James
 
Ranch Hand
Posts: 387
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
James,

UrlyBird is a company that sells 'last minute' hotel rooms. So booking for only 1 night seems logical, also the 48 hour rule.

The instructions however do not say that you have to include this '48 hour rule' in your software.
I'm not going to implement it in mine, and I will jusitfy this in my choices.txt

Herman
 
Paper beats rock. Scissors beats tiny ad.
how do I do my own kindle-like thing - without amazon
https://coderanch.com/t/711421/engineering/kindle-amazon
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!