This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

My solution about 48 hours rule.

 
Marcio Aun Migueis
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I�ve been reading about posts that expose how are different the points of view about this rule.

I�d like to show my solution, because I want some comments about it.

In the db layer, there is a findByCriteria(String[] criteria) method. In the two first positions of the array, I put the location and the hotel name. In position 2, I put the desired date. This date is selected from a combo in the gui. This combo has three values.

For example, today is 10/7/2005. So I create the combo with the following values : 10/7/2005, 10/8/2005 and 10/9/2005. I�m not worry about hours, but about days. I assume that everybody has to leave the room as 12am.

The findByCriteria method will find records that the available date is less than ou equal the selected date.

I also have a textField to input the date that the customer would leave the hotel.

Am I in the right way ?

Another simple question. My primary language is portuguese (Brazil), and I don�t know what�s the meannig of BTW, IMO, AFAIK. If someone could anwer me ASAP ...

Thank�s

M�rcio

[ October 08, 2005: Message edited by: Marcio Aun Migueis ]
[ October 08, 2005: Message edited by: Marcio Aun Migueis ]
 
Richard Green
Ranch Hand
Posts: 536
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
BTW - by the way
AFAIK - as far as i know
IMO - in my opinion
IMHO - in my humble opinion
WTF - what the f___
ASAP - as soon as possible
 
Marcio Aun Migueis
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Mike,

I thought BTW was BeTWeen, but it had no sense .

M�rcio
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic