Class: Icalendar::Offset::Null

Inherits:
Offset
  • Object
show all
Defined in:
lib/icalendar/offset/null.rb

Instance Method Summary collapse

Instance Method Details

#normalized_valueObject



10
11
12
13
14
# File 'lib/icalendar/offset/null.rb', line 10

def normalized_value
  # plan d - just ignore the tzid
  Icalendar.logger.info("Ignoring timezone #{tzid} for time #{value}")
  nil
end

#valid?Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/icalendar/offset/null.rb', line 6

def valid?
  true
end