Module: ViewData::PG::Controls::Time::Local::Offset
- Defined in:
- lib/view_data/pg/controls/time.rb
Class Method Summary collapse
Class Method Details
.hours ⇒ Object
19 20 21 |
# File 'lib/view_data/pg/controls/time.rb', line 19 def self.hours 1 end |
.name ⇒ Object
15 16 17 |
# File 'lib/view_data/pg/controls/time.rb', line 15 def self.name 'CET' end |
.seconds ⇒ Object
23 24 25 |
# File 'lib/view_data/pg/controls/time.rb', line 23 def self.seconds hours * 60 * 60 end |