Method: OpenHAB::CoreExt::Java::LocalTime#+
- Defined in:
- lib/openhab/core_ext/java/local_time.rb
#+(other) ⇒ LocalTime
85 86 87 88 89 90 91 |
# File 'lib/openhab/core_ext/java/local_time.rb', line 85 def +(other) return plus(other.seconds) if other.is_a?(Numeric) return self if other.is_a?(Period) other = other.to_temporal_amount if other.is_a?(QuantityType) plus(other) end |