Method: Vpim::Rrule#byyearday
- Defined in:
- lib/vpim/rrule.rb
#byyearday(year, byyday) ⇒ Object
:nodoc:
488 489 490 491 492 493 494 495 496 |
# File 'lib/vpim/rrule.rb', line 488 def byyearday(year, byyday) #:nodoc: dates = [] byyday.each do |yday| dates << Date.ordinal(year, yday[0].to_i) end dates.sort! dates end |