Method: RiCal::FastDateTime.from_date
- Defined in:
- lib/ri_cal/fast_date_time.rb
.from_date(date) ⇒ Object
28 29 30 |
# File 'lib/ri_cal/fast_date_time.rb', line 28 def self.from_date(date) new(date.year, date.month, date.day, 0, 0, 0, 0) end |