Hassan Schroeder wrote: > On Mon, Jul 13, 2009 at 9:00 PM, Marnen > Laibow-Koser<rails-mailing-l...@andreas-s.net> wrote: > >> I do understand that it might be useful to do >> >> @hassan.set_alarm_clock(AbstractTime.new(:hour => 7, :minute => 0)) > > It might, but it isn't to me, and it *isn't the use case I described*. > > "What time do you typically get up?" How simple is that? > > Build me a survey form, collect the responses, calculate average, > mean, do whatever desired statistical analysis, on data in the range > of 00:00 to 23:59.
Yes, that would be a perfect candidate for AbstractTime...now I understand your use case! (Though to me, at least, it's nearly equivalent to the use case I described with the alarm.) > > But there is not *any* time zone info associated with that. Period. > It simply isn't part of the question. Utterly, totally, irrelevant. In this use case, you are quite right about that. Thanks for the explanation. > > -- > Hassan Schroeder ------------------------ hassan.schroe...@gmail.com > twitter: @hassan Best, -- Marnen Laibow-Koser http://www.marnen.org mar...@marnen.org -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---